diff options
Diffstat (limited to 'cpp/001test')
-rw-r--r-- | cpp/001test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/001test b/cpp/001test index 45ec591d..ed10e97e 100644 --- a/cpp/001test +++ b/cpp/001test @@ -20,6 +20,8 @@ bool Passed = true; long Num_failures = 0; +#define TEST(name) void test_##name() { Trace_file = #name; + #define CHECK(X) \ if (!(X)) { \ ++Num_failures; \ |