tests/testthat/test-corn.R

testthat::test_that(
  desc = "corn",
  code = {
    testthat::expect_equal(
      object = corn(matrix(1:100, 10), 1),
      expected = matrix(c(1, 10, 91, 100), 2)
    )
  }
)
toscm/toscutil documentation built on Feb. 23, 2025, 2:20 p.m.