Launch the tests of the test suite
| 87 | |
| 88 | // Launch the tests of the test suite |
| 89 | void TestSuite::run() { |
| 90 | |
| 91 | // Reset all the tests |
| 92 | reset(); |
| 93 | |
| 94 | // Run all the tests |
| 95 | for (size_t i=0; i < mTests.size(); i++) { |
| 96 | assert(mTests[i] != nullptr); |
| 97 | mTests[i]->run(); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | // Reset the test suite |
| 102 | void TestSuite::reset() { |