27 lines
583 B
C++
27 lines
583 B
C++
#include <cppunit/TestFixture.h>
|
|
#include <cppunit/extensions/HelperMacros.h>
|
|
|
|
class RangeTest : public CppUnit::TestFixture
|
|
{
|
|
CPPUNIT_TEST_SUITE (RangeTest);
|
|
CPPUNIT_TEST (coalesceTest);
|
|
CPPUNIT_TEST (subtractTest1);
|
|
CPPUNIT_TEST (subtractTest2);
|
|
CPPUNIT_TEST (subtractTest3);
|
|
CPPUNIT_TEST (subtractTest4);
|
|
CPPUNIT_TEST (subtractTest5);
|
|
CPPUNIT_TEST (coverageTest);
|
|
CPPUNIT_TEST_SUITE_END ();
|
|
|
|
public:
|
|
void coalesceTest ();
|
|
void subtractTest1 ();
|
|
void subtractTest2 ();
|
|
void subtractTest3 ();
|
|
void subtractTest4 ();
|
|
void subtractTest5 ();
|
|
void coverageTest ();
|
|
};
|
|
|
|
|