| 264 | } // namespace concurrencpp::tests |
| 265 | |
| 266 | void concurrencpp::tests::test_one_timer() { |
| 267 | const auto due_time = 1250ms; |
| 268 | const auto frequency = 250ms; |
| 269 | const auto tq = std::make_shared<concurrencpp::timer_queue>(milliseconds(60 * 1000)); |
| 270 | |
| 271 | timer_tester tester(due_time, frequency, tq); |
| 272 | tester.start_timer_test(); |
| 273 | |
| 274 | std::this_thread::sleep_for(20s); |
| 275 | |
| 276 | tester.test(); |
| 277 | } |
| 278 | |
| 279 | void concurrencpp::tests::test_many_timers() { |
| 280 | random randomizer; |
nothing calls this directly
no test coverage detected