Template Function Catch::Matchers::RangeEquals(RangeLike&&, Equality&&)

Function Documentation

template<typename RangeLike, typename Equality>
RangeEqualsMatcher<RangeLike, Equality> Catch::Matchers::RangeEquals(RangeLike &&range, Equality &&predicate)

Creates a matcher that checks if all elements in a range are equal to all elements in another range.

Uses to provided predicate predicate to do the comparisons