onqtam | bc4b56c | 2016-05-31 18:24:00 +0300 | [diff] [blame] | 1 | [doctest] run with "--help" for options |
onqtam | 1586ea2 | 2016-05-21 18:02:26 +0300 | [diff] [blame] | 2 | =============================================================================== |
onqtam | 1fc3dc7 | 2017-03-14 14:30:09 +0200 | [diff] [blame] | 3 | main.cpp(0) |
onqtam | 1586ea2 | 2016-05-21 18:02:26 +0300 | [diff] [blame] | 4 | the only test |
| 5 | |
onqtam | cfefe2b | 2017-03-28 19:42:06 +0300 | [diff] [blame^] | 6 | main.cpp(0) ERROR! |
onqtam | 1586ea2 | 2016-05-21 18:02:26 +0300 | [diff] [blame] | 7 | CHECK( f1 == f2 ) |
| 8 | with expansion: |
| 9 | CHECK( Foo{} == Foo{} ) |
| 10 | |
onqtam | cfefe2b | 2017-03-28 19:42:06 +0300 | [diff] [blame^] | 11 | main.cpp(0) ERROR! |
onqtam | 1586ea2 | 2016-05-21 18:02:26 +0300 | [diff] [blame] | 12 | CHECK( dummy1 == dummy2 ) |
| 13 | with expansion: |
| 14 | CHECK( omg == tralala ) |
| 15 | |
onqtam | cfefe2b | 2017-03-28 19:42:06 +0300 | [diff] [blame^] | 16 | main.cpp(0) ERROR! |
onqtam | 1586ea2 | 2016-05-21 18:02:26 +0300 | [diff] [blame] | 17 | CHECK( vec1 == vec2 ) |
| 18 | with expansion: |
| 19 | CHECK( [1, 2, 3] == [1, 2, 4] ) |
| 20 | |
onqtam | cfefe2b | 2017-03-28 19:42:06 +0300 | [diff] [blame^] | 21 | main.cpp(0) ERROR! |
onqtam | 1586ea2 | 2016-05-21 18:02:26 +0300 | [diff] [blame] | 22 | CHECK( lst_1 == lst_2 ) |
| 23 | with expansion: |
| 24 | CHECK( [1, 42, 3, ] == [1, 2, 666, ] ) |
| 25 | |
onqtam | 05bcc37 | 2017-03-17 02:10:38 +0200 | [diff] [blame] | 26 | TEST CASE FAILED! |
| 27 | threw exception: |
| 28 | MyTypeInherited<int>(5, 4.0f) |
| 29 | |
onqtam | 1586ea2 | 2016-05-21 18:02:26 +0300 | [diff] [blame] | 30 | =============================================================================== |
onqtam | 05bcc37 | 2017-03-17 02:10:38 +0200 | [diff] [blame] | 31 | main.cpp(0) |
| 32 | a test case that registers an exception translator for int and then throws one |
| 33 | |
| 34 | TEST CASE FAILED! |
| 35 | threw exception: |
onqtam | 036fa31 | 2017-03-17 11:44:30 +0200 | [diff] [blame] | 36 | int: 5 |
onqtam | 05bcc37 | 2017-03-17 02:10:38 +0200 | [diff] [blame] | 37 | |
| 38 | =============================================================================== |
| 39 | [doctest] test cases: 2 | 0 passed | 2 failed | 0 skipped |
onqtam | bc4b56c | 2016-05-31 18:24:00 +0300 | [diff] [blame] | 40 | [doctest] assertions: 4 | 0 passed | 4 failed | |