unorderedMatches function
Returns a matcher which matches Iterables whose elements match the
matchers in expected
, but not necessarily in the same order.
Note that this is worst case O(n^2) runtime and memory usage so it should only be used on small iterables.
Implementation
Matcher unorderedMatches(Iterable expected) => _UnorderedMatches(expected);