tests/testthat/test-bounds.R

test_that("bounds() and domain() handle their arguments specially", {
  B <- bounds(x=c(1.5:10.5))
  expect_equal(names(B), "x")
  expect_equal(B$x, c(1.5, 10.5))
})

Try the mosaicCalc package in your browser

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

mosaicCalc documentation built on Sept. 11, 2024, 9:10 p.m.