Module lib::assert_option::assert_option_some_eq

source ·
Expand description

Assert a.is_some() and a.unwrap() are equal to another.

§Example

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

§Module macros