producesUnordered
MatcherproducesUnordered(Objectexpected)
Matches a Rill that emits the same elements as expected in any order.
expected may be a Dart Iterable or a RIterableOnce. The Rill must succeed and contain exactly the same multiset of elements.
dart
expect(Rill.emits([3, 1, 2]), producesUnordered([1, 2, 3]));