|
Compounds |
struct | assertion_traits |
| Traits used by CPPUNIT_ASSERT_EQUAL(). More...
|
Defines |
#define | CPPUNIT_ASSERT(condition) |
| Assertions that a condition is true .
|
#define | CPPUNIT_ASSERT_MESSAGE(message, condition) |
| Assertion with a user specified message.
|
#define | CPPUNIT_FAIL(message) |
| Fails with the specified message.
|
#define | CPPUNIT_ASSERT_EQUAL(expected, actual) |
| Asserts that two values are equals.
|
#define | CPPUNIT_ASSERT_EQUAL_MESSAGE(message, expected, actual) |
| Asserts that two values are equals, provides additional messafe on failure.
|
#define | CPPUNIT_ASSERT_DOUBLES_EQUAL(expected, actual, delta) |
| Macro for primitive value comparisons.
|
Functions |
template<class T> void | assertEquals (const T &expected, const T &actual, SourceLine sourceLine, const std::string &message) |
| (Implementation) Asserts that two objects of the same type are equals. Use CPPUNIT_ASSERT_EQUAL instead of this function.
|
void CPPUNIT_API | assertDoubleEquals (double expected, double actual, double delta, SourceLine sourceLine) |
| (Implementation) Asserts that two double are equals given a tolerance. Use CPPUNIT_ASSERT_DOUBLES_EQUAL instead of this function.
|