| 41 | } |
| 42 | |
| 43 | void TestFactory::PrintResult() |
| 44 | { |
| 45 | for (int i = 0; i < std::size(s_testResults); ++i) |
| 46 | { |
| 47 | puts(std::format( |
| 48 | "#{}: {} ==> {} seconds\n", |
| 49 | i, |
| 50 | s_testResults[i].m_testName, |
| 51 | std::chrono::duration_cast<std::chrono::seconds>(s_testResults[i].m_duration) |
| 52 | ).data()); |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | void TestFactory::Clear() |
| 57 | { |