You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if it could be a bug or it is more a feature request.
Anyway if you compare two enum values using CHECK_EQ and the check fails, the error message shows question mark instead of values.
I would expect that the enum values are casted to integer by default. Or maybe to have a macro (e.g.: CHECK_EQ_ENUM) that automatically cast to int.
Extra info
doctest version: 2.3.3
Operating System: Arch Linux x86_64 5.2.9
Compiler+version: clang 8.0.1
The text was updated successfully, but these errors were encountered:
Description
I don't know if it could be a bug or it is more a feature request.
Anyway if you compare two enum values using
CHECK_EQ
and the check fails, the error message shows question mark instead of values.I would expect that the enum values are casted to integer by default. Or maybe to have a macro (e.g.:
CHECK_EQ_ENUM
) that automatically cast to int.Extra info
The text was updated successfully, but these errors were encountered: