inst/tinytest/test_tand.R

test_tand <- function() {

expect_equal(tand(360), 0)
expect_equal(tand(0), 0)
expect_equal(tand(180), 0)
expect_error(tand("sq"))

  invisible(NULL)
}

test_tand()

Try the iemisc package in your browser

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

iemisc documentation built on Sept. 25, 2023, 5:09 p.m.