Define ENUMS_EQUAL_TYPE¶
Defined in File Shell.hpp
Define Documentation¶
-
ENUMS_EQUAL_TYPE(underlying_type, expected, actual)¶
[source] Fail if two enum values differ, casting both to
underlying_typefor display.Use this when the enum’s underlying type is not
int(e.g.unsignedoruint8_t) to get meaningful output on failure.See also
- Parameters:
underlying_type – Integer type to cast enum values to for display.
expected – Expected enum value.
actual – Actual enum value.