tests/testthat/test01.R

#Tests to make sure that 1 and 1 makes 2
testthat::test_that("Numbers are being added properly", {
  testthat::expect_equal(add2(1, 1), sum(1, 1))
})
mattjtuttle/task_09 documentation built on May 21, 2019, 1:24 p.m.