编辑: 山南水北 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........

下载(注:源文件不在本站服务器,都将跳转到源网站下载)
备用下载
发帖评论
相关话题
发布一个新话题