tests/testthat/TestCompiledSubdir/tests/testthat/test-TestCompiledSubdir.R

test_that("compiled function simple works", {
  expect_equal(simple(1), 1)
  expect_equal(simple(2), 1)
  expect_equal(simple(3), 1)
  expect_equal(simple(-1), -1)
})
r-lib/covr documentation built on July 5, 2025, 6:25 a.m.