Add assertions for Option-values to check whether they contain a value matching a given predicate (or not). Suggested variants:
contains_value_matching: Passes if value is Some(x) and x matches the predicate.
contains_value_not_matching: Passes if value is Some(x) and x does not match the predicate.
does_not_contain_value_matching: Passes if value is None or Some(x) and x does not match the predicate.
Add assertions for
Option-values to check whether they contain a value matching a given predicate (or not). Suggested variants:contains_value_matching: Passes if value isSome(x)andxmatches the predicate.contains_value_not_matching: Passes if value isSome(x)andxdoes not match the predicate.does_not_contain_value_matching: Passes if value isNoneorSome(x)andxdoes not match the predicate.