tests/testthat/testthat.R

test_that("test if f function is correct", {
  expect_equal(f(1,1), 2)
}
)

test_that("test if f function is correct", {
  expect_equal(f(1,4), 2)
}
)
quranwu/GatorPKG3 documentation built on Nov. 5, 2019, 1:59 a.m.