Macro galvanic_assert::any_of [] [src]

macro_rules! any_of {
    ( $matcher: expr ) => { ... };
    ( $matcher: expr, $($matchers: expr),* ) => { ... };
}

Takes a list of matchers for the same type combines them disjunctively.

Examples

use galvanic_assert::matchers::*;
assert_that!(&(1+1), any_of![lt(0), gt(5), not(eq(3))]);