checkChoice(x, choices)assertChoice(x, choices, add = NULL, .var.name)
testChoice(x, choices)
expect_choice(x, choices, info = NULL, label = NULL)
atomic]
Set of possible values.AssertCollection]
Collection to store assertions. See AssertCollection.x. Defaults to a heuristic to determine
the name using deparse and substitute.expect_that..var.name, but passed down to expect_that.TRUE.
If the check is not successful, assertChoice throws an error message,
testChoice returns FALSE, checkChoice returns
a string with the error message. The function expect_choice will
return an expectation.assertSetEqual,
checkSetEqual,
expect_set_equal,
testSetEqual; assertSubset,
checkSubset, expect_subset,
testSubset