tests/testthat/test-utils.R

# %notin% -----------------------------------------------------------------

test_that("%notin% does its job", {
  expect_true("a" %notin% c("b", "c"))
  expect_false("a" %notin% c("a", "b", "c"))
})
bwilden/bper documentation built on March 25, 2023, 3:39 p.m.