tests/testthat/filtering/simple/test1.R

library(testthat)

test_that('Basic test filtering works correctly', {
    expect_equal(func1(5), 5)
    expect_equal(func1(3), 3)
})
reactorlabs/r-tests-old-version documentation built on July 10, 2018, 12:42 a.m.