Nothing
test_that("constant generates values equal to input argument", {
for_all(
a = any_vector(),
property = function(a) {
for_all(
b = constant(a),
property = function(b) expect_equal(a, b),
tests = nested_tests()
)
},
tests = nested_tests()
)
})
test_that("constant can generate NULL values", {
for_all(
a = constant(NULL),
property = function(a) expect_equal(a, NULL)
)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.