tests/testthat/test_1-0-0-major-bearing.R

context("Bearing")

test_that("Simple bearing", {
  expect_equal(bearing(-33, 151, -32, 151), 0)
})

Try the hutils package in your browser

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

hutils documentation built on Aug. 20, 2018, 9:04 a.m.