coding style
This commit is contained in:
parent
d775547d04
commit
df34510466
5
test.h
5
test.h
@ -27,7 +27,10 @@
|
||||
int tests_run = 0;
|
||||
int ret = 0;
|
||||
|
||||
#define CHECK(cond, message) do { if (!(cond)) { fputs (message, stderr); fputc ('\n', stderr); return 0; } } while (0)
|
||||
#define CHECK(cond, message) do { if (!(cond)) { fputs (message, stderr); fputc ( \
|
||||
'\n', \
|
||||
stderr); return 0; \
|
||||
} } while (0)
|
||||
#define RUN(test) do { if (!test ()) { ret = 1; } } while (0)
|
||||
|
||||
#endif // ifndef _BRANDT_TEST_H
|
||||
|
Loading…
Reference in New Issue
Block a user