blob: 1305b3c7805d3b92f0cb22997e0576367ab3c123 [file] [log] [blame]
[doctest] run with "--help" for options
===============================================================================
stringification.cpp(0)
TEST CASE: all asserts should fail and show how the objects get stringified
stringification.cpp(0) ERROR!
CHECK( f1 == f2 )
with expansion:
CHECK( Foo{} == Foo{} )
stringification.cpp(0) ERROR!
CHECK( dummy1 == dummy2 )
with expansion:
CHECK( omg == tralala )
stringification.cpp(0) ERROR!
CHECK( vec1 == vec2 )
with expansion:
CHECK( [1, 2, 3] == [1, 2, 4] )
stringification.cpp(0) ERROR!
CHECK( lst_1 == lst_2 )
with expansion:
CHECK( [1, 42, 3, ] == [1, 2, 666, ] )
TEST CASE FAILED!
threw exception:
MyTypeInherited<int>(5, 4.0f)
===============================================================================
stringification.cpp(0)
TEST CASE: a test case that registers an exception translator for int and then throws one
TEST CASE FAILED!
threw exception:
5
===============================================================================
[doctest] test cases: 2 | 0 passed | 2 failed |
[doctest] assertions: 4 | 0 passed | 4 failed |
[doctest] Status: FAILURE!
Program code.