6 void __fail(const char *szMsg, const char *szCond, const char *szFile, int line);
7 void __printf(const char *szFormat, ...) REENTRANT;
9 #define ASSERT(_a) (__numTests++, (_a) ? (void)0 : __fail("Assertion failed", #_a, __FILE__, __LINE__))
10 #define LOG(_a) __printf _a
11 #define FAIL() FAILM("Failure")
12 #define FAILM(_a) __fail(_a, #_a, __FILE__, __LINE__)
14 typedef void (*TESTFUNP)(void);
16 // Provided by the suite
25 #define UNUSED(_a) if (_a) { }