blob: dc7cb1d0585c5d7cde60f98a92981439207d6615 [file] [log] [blame]
[doctest] run with "--help" for options
== TEST CASE ==================================================================
main.cpp(0)
the only test
main.cpp(0) ERROR!
CHECK( f1 == f2 )
with expansion:
CHECK( Foo{} == Foo{} )
main.cpp(0) ERROR!
CHECK( dummy1 == dummy2 )
with expansion:
CHECK( omg == tralala )
main.cpp(0) ERROR!
CHECK( vec1 == vec2 )
with expansion:
CHECK( [1, 2, 3] == [1, 2, 4] )
main.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)
== TEST CASE ==================================================================
main.cpp(0)
a test case that registers an exception translator for int and then throws one
TEST CASE FAILED!
threw exception:
int: 5
===============================================================================
[doctest] test cases: 2 | 0 passed | 2 failed | 0 skipped
[doctest] assertions: 4 | 0 passed | 4 failed |