首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > TestSuite, for thinking in c++

TestSuite, for thinking in c++

  • 资源大小:1.31 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: c++

资 源 简 介

//: TestSuite:Suite.cpp {0} #include "Suite.h" #include #include #include using namespace std; using namespace TestSuite; void Suite::addtest(Test* t) throw(TestSuiteError) {     // verify test is valid and has a stream:     if (t == 0)     {         throw TestSuiteError("Null test int Suite::addtest");     }     else if (osptr != NULL && !t->get_stream())     {         t->set_stream(osptr);     }     tests.push_back(t);     t->reset(); } void Suite::addsuite(const Suite& s) {     for (size_t i = 0; i < s.tests.size(); ++i) &nb

文 件 列 表

TestSuite
Test.cpp
Test.h
VIP VIP
0.173261s