00001 #ifndef __ASSERTS_H 00002 #define __ASSERTS_H 00003 00004 // Abbreviations for assertions in cppunit. 00005 00006 #define EQMSG(msg, a, b) CPPUNIT_ASSERT_EQUAL_MESSAGE(msg,a,b) 00007 #define EQ(a,b) CPPUNIT_ASSERT_EQUAL(a,b) 00008 #define ASSERT(expr) CPPUNIT_ASSERT(expr) 00009 #define FAIL(msg) CPPUNIT_FAIL(msg) 00010 00011 00012 00013 #endif