| 18 | using namespace pmon; |
| 19 | |
| 20 | void AssertWithinTolerance(double test, double expected, double tolerance) |
| 21 | { |
| 22 | const auto diff = test - expected; |
| 23 | Assert::IsTrue(diff <= tolerance, std::format(L"{} - {} = {} | exceeds {}", test, expected, diff, tolerance).c_str()); |
| 24 | } |
| 25 | |
| 26 | TEST_CLASS(TestTiming) |
| 27 | { |
no outgoing calls
no test coverage detected