onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 1 | #include "doctest_proxy.h" |
| 2 | |
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 3 | my_testcase("custom macros") { |
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 4 | my_check(1 == 1); |
| 5 | |
onqtam | cc6a6d6 | 2016-09-19 17:30:15 +0300 | [diff] [blame] | 6 | my_fast_check_eq(1, 1); |
| 7 | |
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 8 | my_subcase("bar") { |
| 9 | my_subcase("foo") {} |
| 10 | my_subcase("baz") {} |
| 11 | |
| 12 | my_require(5 > 3); |
| 13 | } |
onqtam | 4a65563 | 2016-05-26 14:20:52 +0300 | [diff] [blame] | 14 | // CHECK(1 == 1); <== ERROR - the default short macros are disabled from the proxy header |
| 15 | } |