r-travis/fakepackage/inst/tests/test-fakepackage.r

context("fake")

test_that("returns 3", {
  expect_equal(3, three())
})

test_that("is_three recognizes 3", {
  expect_that(is_three(3), is_true())
  expect_that(is_three(5), not(is_true()))
  expect_that(is_three(5), is_false())
})
krlmlr/r-appveyor documentation built on March 27, 2022, 10:57 a.m.