8475061136
thanks to Nico Werner, who did most of the porting work
15 lines
378 B
C++
15 lines
378 B
C++
#include "doctest_proxy.h"
|
|
|
|
my_testcase("custom macros") {
|
|
my_check(1 == 1);
|
|
|
|
my_check_eq(1, 1);
|
|
|
|
my_subcase("bar") {
|
|
my_subcase("foo") { /* code code code */ }
|
|
my_subcase("baz") { /* code code code */ }
|
|
|
|
my_require(5 > 3);
|
|
}
|
|
// CHECK(1 == 1); <== ERROR - the default short macros are disabled from the proxy header
|
|
}
|