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))
})
ProjectMOSAIC/mosaicCalc documentation built on March 1, 2025, 12:37 a.m.