aboutsummaryrefslogtreecommitdiff
path: root/test.h
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-06-13 21:01:14 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-06-13 21:01:14 +0200
commit557fbe2cc32f3ff6d8c2c0c8aa272f7b55f45618 (patch)
tree1804896d2e6d2ffb14936a6570b96c65e230143f /test.h
parent745dff3ac02a97d5686270fd142a31ad6e5badb2 (diff)
downloadlibbrandt-557fbe2cc32f3ff6d8c2c0c8aa272f7b55f45618.tar.gz
libbrandt-557fbe2cc32f3ff6d8c2c0c8aa272f7b55f45618.zip
add first ZKP including test case
Diffstat (limited to 'test.h')
-rw-r--r--test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.h b/test.h
index db63350..45ace82 100644
--- a/test.h
+++ b/test.h
@@ -6,7 +6,7 @@
6int tests_run = 0; 6int tests_run = 0;
7int ret = 0; 7int 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