should 0.6.0

Postfix assertion library for Rust
Documentation
1
2
3
4
5
6
7
8
use crate::expected::Expected;

pub trait ShouldBeOrdered<T: ?Sized> {
    fn should_be_lt(&self, expected: impl Expected<T>);
    fn should_be_le(&self, expected: impl Expected<T>);
    fn should_be_gt(&self, expected: impl Expected<T>);
    fn should_be_ge(&self, expected: impl Expected<T>);
}