blob: 9017111bd0938b4105fe919492993bc2b27ace07 [file] [log] [blame]
onqtam4a655632016-05-26 14:20:52 +03001#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
2#include "doctest_proxy.h"
3
4#include <cstdio>
5
6my_testcase("custom macros") {
7 printf("Hello world!\n");
8
9 my_check(1 == 1);
10
11 my_subcase("bar") {
12 my_subcase("foo") {}
13 my_subcase("baz") {}
14
15 my_require(5 > 3);
16 }
17
18 // CHECK(1 == 1); <== ERROR - the default short macros are disabled from the proxy header
19}