Function Expect.opEquals
compares a value or an unexpected value. To compare with an unepexted value
you must used either Unexpected!E
as the rhs or it's type contructor.
bool opEquals
(
const Expected rhs
) const;
bool opEquals
(
const Unexpected rhs
) const;
bool opEquals
(
const AnyUnexpected
) const;
If you do not care about the value of the unexpected then you can compare
against anyUnexpected