packrat/lib/x86_64-apple-darwin15.6.0/3.6.0/testthat/examples/test-success.R

test_that("one plus one is two", {
  expect_equal(1 + 1, 2)
})

test_that("you can skip tests if needed", {
  skip("This tests hasn't been written yet")
})

test_that("some tests have warnings", {
  expect_equal(log(-1), NaN)
})

test_that("some more successes just to pad things out", {
  expect_true(TRUE)
  expect_false(FALSE)
})
adnaniazi/krauseNiazi2019Analyses documentation built on June 9, 2019, 7:22 p.m.