编辑: 山南水北 | 2019-07-01 |
1 public:
2 static CppUnit::TestSuite *suite()
3 {
4 CppUnit::TestSuite *suiteOfTests = new CppUnit::TestSuite( ComplexNumberTest );
5 suiteOfTests->
addTest( new CppUnit::TestCaller<
ComplexNumberTest>
( testEquality , &
ComplexNumberTest::testEquality ) );
6 suiteOfTests->
addTest( new CppUnit::TestCaller<
ComplexNumberTest>
( testAddition , &
ComplexNumberTest::testAddit........