diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-13 21:01:14 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-13 21:01:14 +0200 |
commit | 557fbe2cc32f3ff6d8c2c0c8aa272f7b55f45618 (patch) | |
tree | 1804896d2e6d2ffb14936a6570b96c65e230143f /test.h | |
parent | 745dff3ac02a97d5686270fd142a31ad6e5badb2 (diff) | |
download | libbrandt-557fbe2cc32f3ff6d8c2c0c8aa272f7b55f45618.tar.gz libbrandt-557fbe2cc32f3ff6d8c2c0c8aa272f7b55f45618.zip |
add first ZKP including test case
Diffstat (limited to 'test.h')
-rw-r--r-- | test.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ | |||
6 | int tests_run = 0; | 6 | int tests_run = 0; |
7 | int ret = 0; | 7 | int ret = 0; |
8 | 8 | ||
9 | #define check(cond, message) do { if (!(cond)) { fputs(message, stderr); return 0; } } while (0) | 9 | #define check(cond, message) do { if (!(cond)) { fputs(message, stderr); fputc('\n', stderr); return 0; } } while (0) |
10 | #define run(test) do { tests_run++; if (!test()) ret = 1; } while (0) | 10 | #define run(test) do { tests_run++; if (!test()) ret = 1; } while (0) |
11 | 11 | ||
12 | #endif | 12 | #endif |