Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "test_runner.h"
- using namespace std;
- TestRunner::~TestRunner()
- {
- if (failedTests > 0)
- {
- cerr << "There are " << failedTests << " failed tests!\n";
- exit(1);
- }
- }
- void Assert(bool b, const string& hint)
- {
- AssertEqual(b, true, hint);
- }
Advertisement
Add Comment
Please, Sign In to add comment