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