blob: 9b597f99d2ebc99aeb6f42c2cd4044bbe3719fa1 [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
onqtamcc6a6d62016-09-19 17:30:15 +030011 my_fast_check_eq(1, 1);
12
onqtam4a655632016-05-26 14:20:52 +030013 my_subcase("bar") {
14 my_subcase("foo") {}
15 my_subcase("baz") {}
16
17 my_require(5 > 3);
18 }
onqtam4a655632016-05-26 14:20:52 +030019 // CHECK(1 == 1); <== ERROR - the default short macros are disabled from the proxy header
20}