blob: 3c218dfbacefe6f1c13e360fde34106164216417 [file] [log] [blame]
onqtambc4b56c2016-05-31 18:24:00 +03001[doctest] run with "--help" for options
onqtam1586ea22016-05-21 18:02:26 +03002===============================================================================
onqtam1fc3dc72017-03-14 14:30:09 +02003main.cpp(0)
onqtam1586ea22016-05-21 18:02:26 +03004the only test
5
onqtamcfefe2b2017-03-28 19:42:06 +03006main.cpp(0) ERROR!
onqtam1586ea22016-05-21 18:02:26 +03007 CHECK( f1 == f2 )
8with expansion:
9 CHECK( Foo{} == Foo{} )
10
onqtamcfefe2b2017-03-28 19:42:06 +030011main.cpp(0) ERROR!
onqtam1586ea22016-05-21 18:02:26 +030012 CHECK( dummy1 == dummy2 )
13with expansion:
14 CHECK( omg == tralala )
15
onqtamcfefe2b2017-03-28 19:42:06 +030016main.cpp(0) ERROR!
onqtam1586ea22016-05-21 18:02:26 +030017 CHECK( vec1 == vec2 )
18with expansion:
19 CHECK( [1, 2, 3] == [1, 2, 4] )
20
onqtamcfefe2b2017-03-28 19:42:06 +030021main.cpp(0) ERROR!
onqtam1586ea22016-05-21 18:02:26 +030022 CHECK( lst_1 == lst_2 )
23with expansion:
24 CHECK( [1, 42, 3, ] == [1, 2, 666, ] )
25
onqtam05bcc372017-03-17 02:10:38 +020026TEST CASE FAILED!
27threw exception:
28 MyTypeInherited<int>(5, 4.0f)
29
onqtam1586ea22016-05-21 18:02:26 +030030===============================================================================
onqtam05bcc372017-03-17 02:10:38 +020031main.cpp(0)
32a test case that registers an exception translator for int and then throws one
33
34TEST CASE FAILED!
35threw exception:
onqtam036fa312017-03-17 11:44:30 +020036 int: 5
onqtam05bcc372017-03-17 02:10:38 +020037
38===============================================================================
39[doctest] test cases: 2 | 0 passed | 2 failed | 0 skipped
onqtambc4b56c2016-05-31 18:24:00 +030040[doctest] assertions: 4 | 0 passed | 4 failed |