tests/testthat/test-1-1-0-notchin.R

context("%notchin%")

test_that("Coverage", {
  expect_false(all(c(1, 2) %notchin% c(1, 2, 3)))
  expect_true(any(c(1, 2) %notchin% c(3, 4)))
})

Try the hutils package in your browser

Any scripts or data that you put into this service are public.

hutils documentation built on April 13, 2022, 5:23 p.m.