The idea is to be able to check the order of elements of an Iterable without having to name them all (which may be problematic for large or unpredictable results).
This would by my solution for https://github.com/hamcrest/JavaHamcrest/pull/404, i.e. check that the elements are ordered as expected and test that all or some of the elements are indeed present.
The idea is to be able to check the order of elements of an
Iterable
without having to name them all (which may be problematic for large or unpredictable results). This would by my solution for https://github.com/hamcrest/JavaHamcrest/pull/404, i.e. check that the elements are ordered as expected and test that all or some of the elements are indeed present.