checkChoice(x, choices)assertChoice(x, choices, add = NULL, .var.name = NULL)
assert_choice(x, choices, add = NULL, .var.name = NULL)
testChoice(x, choices)
test_choice(x, choices)
expect_choice(x, choices, info = NULL, label = NULL)
atomic]
Set of possible values.AssertCollection]
Collection to store assertions. See AssertCollection.NULL || character(1)]
Name of the checked object to print in error message. If NULL,
the name will be heuristically determined via substitute.expect_that..var.name, but passed down to expect_that.TRUE. If the check
is not successful, assertChoice/assert_choice
throws an error message, testChoice/test_choice
returns FALSE,
and checkChoice returns a string with the error message.
The function expect_choice always returns an
expectation.checkSetEqual,
checkSubset