inst/testpkg/tests/testthat/test-add.R

test_that("add works", {
  expect_equal(add(1, 2), 3)
})

Try the docreview package in your browser

Any scripts or data that you put into this service are public.

docreview documentation built on Aug. 17, 2021, 9:06 a.m.