Go to the documentation of this file.
9 #define FAIL(...) _ck_assert_failed(__FILE__, __LINE__, "Failed" , ## __VA_ARGS__)
11 #define FAIL_UNLESS(expr, ...) \
13 _mark_point(__FILE__, __LINE__) : \
14 _ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__)
16 #define FAIL_IF(expr, ...)\
18 _ck_assert_failed(__FILE__, __LINE__, "Failure '"#expr"' occurred" , ## __VA_ARGS__) \
19 : _mark_point(__FILE__, __LINE__)