tests/testthat/test-arithmetic.R

test_that("Add", {
    expect_equal(add(1,1), 2)
})


test_that("Subtract", {
    expect_equal(subtract(1,1), 0)
})
robertdj/arithmetic1 documentation built on Dec. 27, 2020, 6:36 a.m.