Files
2026-07-13 12:42:18 +08:00

10 lines
137 B
R

library(testthat)
test_that("addition works", {
expect_equal(add(1, 2), 3)
})
test_add <- function() {
stopifnot(add(1, 2) == 3)
}