mirror of https://github.com/onqtam/doctest
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
[doctest] run with "--help" for options
|
|
===============================================================================
|
|
coverage_maxout.cpp(0):
|
|
TEST CASE: exercising tricky code paths of doctest
|
|
|
|
coverage_maxout.cpp(0): ERROR: CHECK( str.compare(const_str, true) != 0 ) is NOT correct!
|
|
values: CHECK( 0 != 0 )
|
|
logged: should fail
|
|
|
|
coverage_maxout.cpp(0): ERROR: CHECK( str.compare("omgomgomg", false) != 0 ) is NOT correct!
|
|
values: CHECK( 0 != 0 )
|
|
logged: should fail
|
|
|
|
coverage_maxout.cpp(0): ERROR: CHECK_FALSE( isThereAnything ) is NOT correct!
|
|
values: CHECK_FALSE( true )
|
|
logged: should fail
|
|
|
|
===============================================================================
|
|
coverage_maxout.cpp(0):
|
|
TEST SUITE: exception related
|
|
TEST CASE: will end from a std::string exception
|
|
|
|
coverage_maxout.cpp(0): ERROR: test case THREW exception: std::string!
|
|
|
|
===============================================================================
|
|
coverage_maxout.cpp(0):
|
|
TEST SUITE: exception related
|
|
TEST CASE: will end from a const char* exception
|
|
|
|
coverage_maxout.cpp(0): ERROR: test case THREW exception: const char*!
|
|
|
|
===============================================================================
|
|
coverage_maxout.cpp(0):
|
|
TEST SUITE: exception related
|
|
TEST CASE: will end from an unknown exception
|
|
|
|
coverage_maxout.cpp(0): ERROR: test case THREW exception: unknown exception
|
|
|
|
===============================================================================
|
|
[doctest] test cases: 4 | 0 passed | 4 failed |
|
|
[doctest] assertions: 31 | 28 passed | 3 failed |
|
|
[doctest] Status: FAILURE!
|
|
Program code.
|