|
mimic++ v10.0.1
|
Functions | |
| template<std::ranges::forward_range Range, typename Comparator = std::equal_to<>> | |
| constexpr auto | eq (Range &&expected, Comparator comparator=Comparator{}) |
| Tests, whether the target range compares equal to the expected range, by comparing them element-wise. | |
| template<std::ranges::forward_range Range, typename Comparator = std::equal_to<>> | |
| constexpr auto | unordered_eq (Range &&expected, Comparator comparator=Comparator{}) |
| Tests, whether the target range is a permutation of the expected range, by comparing them element-wise. | |
| template<typename Relation = std::ranges::less> | |
| constexpr auto | is_sorted (Relation relation=Relation{}) |
| Tests, whether the target range is sorted, by applying the relation on each adjacent elements. | |
| constexpr auto | is_empty () |
| Tests, whether the target range is empty. | |
| constexpr auto | has_size (const std::integral auto expected) |
| Tests, whether the target range has the expected size. | |
| template<typename Matcher> | |
| constexpr auto | each_element (Matcher &&matcher) |
| Tests, whether each element of the target range matches the specified matcher. | |
| template<typename Matcher> | |
| constexpr auto | any_element (Matcher &&matcher) |
| Tests, whether any element of the target range matches the specified matcher. | |