tests/testthat/test-Radians.R

test_that("To convert separated data in Degrees Minutes and Seconds to Radians works", {
  # Lat
  g <- -33
  m <- 38
  s <- 30.123456
  value <- radians(g, m, s, digits = 4)
  expect_equal(radians(g, m, s, digits = 4), value)
})

Try the GeodesiCL package in your browser

Any scripts or data that you put into this service are public.

GeodesiCL documentation built on May 25, 2021, 5:10 p.m.