aboutsummaryrefslogtreecommitdiff
path: root/test.h
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-06-16 00:09:29 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-06-17 10:29:49 +0200
commit761dd37e1f905719df2cd8f4420e4b46da80bffb (patch)
treeb93ec567a19e2407274fc3350ea51186aac8f091 /test.h
parent6f3fb463176c04c9a258fce820ec66724a4d13f4 (diff)
downloadlibbrandt-761dd37e1f905719df2cd8f4420e4b46da80bffb.tar.gz
libbrandt-761dd37e1f905719df2cd8f4420e4b46da80bffb.zip
refactor smc and ec crypto functions and ad 0og zkp
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 dd1ead0..da9485e 100644
--- a/test.h
+++ b/test.h
@@ -27,6 +27,6 @@ int tests_run = 0;
27int ret = 0; 27int ret = 0;
28 28
29#define check(cond, message) do { if (!(cond)) { fputs (message, stderr); fputc ('\n', stderr); return 0; } } while (0) 29#define check(cond, message) do { if (!(cond)) { fputs (message, stderr); fputc ('\n', stderr); return 0; } } while (0)
30#define run(test) do { tests_run++; if (!test ()) { ret = 1; } } while (0) 30#define run(test) do { if (!test ()) { ret = 1; } } while (0)
31 31
32#endif // ifndef _BRANDT_TEST_H 32#endif // ifndef _BRANDT_TEST_H