mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-01-11 22:40:49 +01:00
6 lines
274 B
C
6 lines
274 B
C
/* file: minunit.h */
|
|
#define mu_assert(message, test) do { if (!(test)) return message; } while (0)
|
|
#define mu_run_test(test) do { char *message = test(); tests_run++; \
|
|
if (message) return message; } while (0)
|
|
extern int tests_run;
|