tests/testthat/test-any_undefined.R

test_that("any_undefined only produces undefined values", {
  for_all(
    a = any_undefined(),
    property = function(a) is_undefined(a) %>% expect_true()
  )
})

Try the quickcheck package in your browser

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

quickcheck documentation built on Oct. 12, 2023, 1:08 a.m.