We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following test:
TEST_CASE("Test") { unsigned int i = 0xFFFFFFFF; CAPTURE(i); REQUIRE(i == 0xFFFFFFFE); }
gives the output:
FAILED: REQUIRE( i == 0xFFFFFFFE ) with expansion: 4294967295 (0xffffffff) == 4294967294 (0xfffffffe) with message: i := 4294967295
I think CAPTURE should also print the hexadecimal value.
The text was updated successfully, but these errors were encountered:
changing the macro definition to the following solves it for me:
#define CAPTURE( msg ) INTERNAL_CATCH_INFO( #msg " := " << Catch::toString(msg), "CAPTURE" )
I can make a PR of it if you like.
Sorry, something went wrong.
be4f6ab
No branches or pull requests
The following test:
gives the output:
I think CAPTURE should also print the hexadecimal value.
The text was updated successfully, but these errors were encountered: