projects
/
apps
/
madmutt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
aad4ccca9724f3774011908c0957d85fbc3ee37f
[apps/madmutt.git]
/
test_muttng.h
1
#ifndef TEST_MUTTNG__H
2
3
#define mu_assert(message, test) do { if (!(test)) return message; } while (0)
4
#define mu_run_test(test) do { char *message = test(); \
5
tests_run++; \
6
if (message) { \
7
return message; \
8
} \
9
} while (0)
10
extern int tests_run;
11
12
#endif