pub fn sorted_descending<'a, T, I>() -> Box<dyn Fn(&'a I) -> MatchResult>
Expand description
Matches if the asserted collection is sorted weakly descending.
An empty collection is assumed to be always sorted.
#Examples
use galvanic_assert::matchers::collection::*;
assert_that!(&vec![5,4,4,3,3,2,1], sorted_descending());