xlnt/third-party/cxxtest/doc/examples/MyTestSuite4.h

15 lines
220 B
C
Raw Normal View History

// MyTestSuite4.h
#include <cxxtest/TestSuite.h>
class MyTestSuite4
:
public CxxTest::TestSuite
{
public:
void testAddition(void)
{
TS_ASSERT(1 + 1 > 1);
TS_ASSERT_EQUALS(1 + 1, 2);
}
};