diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-16 00:09:29 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-17 10:29:49 +0200 |
commit | 761dd37e1f905719df2cd8f4420e4b46da80bffb (patch) | |
tree | b93ec567a19e2407274fc3350ea51186aac8f091 /test.h | |
parent | 6f3fb463176c04c9a258fce820ec66724a4d13f4 (diff) | |
download | libbrandt-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,6 +27,6 @@ int tests_run = 0; | |||
27 | int ret = 0; | 27 | int 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 |