tests/testthat/test-stats_fn_dom.R

test_that("test that input is correct type", {
  x <- matrix(1, 2, 2)
  expect_equal(is.matrix(x), T)
  expect_type(x, "double")



  #expect_equal(2 * 2, 4)
})
linley-sherin/netwerk documentation built on Dec. 21, 2021, 10:50 a.m.