Module lib::assert_option::assert_option_some_ne

source ·
Expand description

Assert a.is_some() and a.unwrap() is not equal to another.

§Example

let a: Option<i8> = Option::Some(1);
let b: Option<i8> = Option::Some(2);
assert_option_some_ne!(a, b);

§Module macros