blob: fd877cc87d523941005bbfa8c721102d42b949a5 [file] [log] [blame]
onqtam4a655632016-05-26 14:20:52 +03001#include "doctest_proxy.h"
2
onqtam4a655632016-05-26 14:20:52 +03003my_testcase("custom macros") {
onqtam4a655632016-05-26 14:20:52 +03004 my_check(1 == 1);
5
onqtamcc6a6d62016-09-19 17:30:15 +03006 my_fast_check_eq(1, 1);
7
onqtam4a655632016-05-26 14:20:52 +03008 my_subcase("bar") {
9 my_subcase("foo") {}
10 my_subcase("baz") {}
11
12 my_require(5 > 3);
13 }
onqtam4a655632016-05-26 14:20:52 +030014 // CHECK(1 == 1); <== ERROR - the default short macros are disabled from the proxy header
15}