diff options
author | c | 2024-01-06 22:16:06 -0500 |
---|---|---|
committer | c | 2024-01-06 22:16:06 -0500 |
commit | d3ed2864afd3d470a39c7ef2ec1a53deaae18d14 (patch) | |
tree | 9bfedf02a653d2dac9b90cc102bf505cfc49ac2d /test/include | |
parent | c71b98b5b4d14cf30602064d7041828ba8244372 (diff) |
Tests worked out.
Diffstat (limited to 'test/include')
-rw-r--r-- | test/include/test.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/include/test.h b/test/include/test.h index 4638a1e..9a2aa5a 100644 --- a/test/include/test.h +++ b/test/include/test.h @@ -6,8 +6,6 @@ extern unsigned int TESTS_RUN; extern unsigned int TESTS_PASSED; -#define HIDE(THE) do { THE } while ( 0 ); - #define ASSERT(EXPR) \ TESTS_RUN++; \ (EXPR && ++TESTS_PASSED) ? \ @@ -19,4 +17,4 @@ extern unsigned int TESTS_PASSED; log_yay("%s: All %d tests passed!", __FILE__, TESTS_RUN) : \ log_err("%d/%d tests failed.", TESTS_RUN - TESTS_PASSED, TESTS_RUN); -#endif /* ifndef TEST_H */ +#endif |