Macro galvanic_assert::all_of
[−]
[src]
macro_rules! all_of { ( $matcher: expr ) => { ... }; ( $matcher: expr, $($matchers: expr),* ) => { ... }; }
Takes a list of matchers for the same type combines them conjunctively.
Examples
use galvanic_assert::matchers::*; assert_that!(&(1+1), all_of![gt(0), lt(5), not(eq(3))]);