mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
21 lines
320 B
C++
21 lines
320 B
C++
// MyTestSuite10.h
|
|
#include <cxxtest/TestSuite.h>
|
|
#include <MyClass.h>
|
|
|
|
class MyTestSuite10 : public CxxTest::TestSuite
|
|
{
|
|
public:
|
|
void test_le()
|
|
{
|
|
MyClass x(1), y(2);
|
|
TS_ASSERT_LESS_THAN(x, y);
|
|
}
|
|
|
|
void test_eq()
|
|
{
|
|
MyClass x(1), y(2);
|
|
TS_ASSERT_EQUALS(x, y);
|
|
}
|
|
};
|
|
|