Testing module

all_of

procedureextensionsince 0.30.0Source

Every matcher holds.

Example↗
assert_that(7, all_of(greater_than(5), less_than(10)));
all_of :: (matchers: ..Matcher) -> Matcher

Every matcher holds.

Parameters

matchers: ..Matcher
the matchers that must all hold.

Returns

Example↗
assert_that(7, all_of(greater_than(5), less_than(10)));

See also