#pragma GCC diagnostic ignored "-Wold-style-cast"
#endif
+#include <libtest/lite.h>
+
/**
A structure describing the test case.
*/
} \
} while (0)
-#define test_assert(A, B) \
-do \
-{ \
- if ((A)) { \
- fprintf(stderr, "\n%s:%d: Assertion failed %s, with message %s, in %s", __FILE__, __LINE__, (B), #A, __func__ );\
- fprintf(stderr, "\n"); \
- libtest::create_core(); \
- assert((A)); \
- } \
-} while (0)
-
#define test_truth(A) \
do \
{ \