9 #ifndef IMPTEST_TEST_MACROS_H
10 #define IMPTEST_TEST_MACROS_H
14 #define IMP_TEST_EQUAL(a, b) \
16 IMP_ERROR("Test failed: " << #a << " != " << #b << " values are " << a \
21 #define IMP_TEST_TRUE(a) \
23 IMP_ERROR("Test failed: !" << #a); \
27 #define IMP_TEST_LESS_THAN(a, b) \
29 IMP_ERROR("Test failed: " << #a << " >= " << #b << " values are " << a \
34 #define IMP_TEST_GREATER_THAN(a, b) \
36 IMP_ERROR("Test failed: " << #a << " <= " << #b << " values are " << a \
Logging and error reporting support.