Expand description
The collection module contains matchers for asserting properties of collections and iterators.
Structs§
- Matches if the asserted (single) value is contained in the expected elements.
- Matches if the asserted collection contains all and only the expected elements in any order.
- Matches if the asserted collection contains all and only of the expected elements in the given order.
- Matches if the asserted collection contains all (possibly more) of the expected elements.
- Matches if the map-like collection contains the given key/value pair.
- Matches if the map-like collection contains the given key.
- Matches if the map-like collection contains the given value.
Functions§
- Matches if all elements in the asserted collection satisfy the given
predicate
. - Matches if the asserted (single) value is contained in the expected elements.
- Matches if the asserted collection contains all and only of the expected elements in any order.
- Matches if the asserted collection contains all and only of the expected elements in the given order.
- Matches if the asserted collection contains all (possibly more) of the expected elements.
- Matches if the map-like collection contains the given key/value pair.
- Matches if the map-like collection contains the given key.
- Matches if the map-like collection contains the given value.
- Matches if at least one element in the asserted collection satisfy the given
predicate
. - Matches if the asserted collection is sorted weakly ascending.
- Matches if the elements in the asserted collection are sorted weakly monotone according to the given
predicate
in the expected order. - Matches if the elements in the asserted collection are sorted weakly monotone according to the given
predicate
in any order. - Matches if the asserted collection is sorted weakly descending.
- Matches if the asserted collection is sorted strictly ascending.
- Matches if the elements in the asserted collection are sorted strictly monotone according to the given
predicate
in the expected order`. - Matches if the elements in the asserted collection are sorted strictly monotone according to the given
predicate
in any order. - Matches if the asserted collection is sorted strictly descending.