| 30 | namespace concurrencpp::tests { |
| 31 | template<class type, class method_functor> |
| 32 | void test_result_method_val(std::shared_ptr<thread_executor> te, method_functor&& tested_method, value_gen<type> converter) { |
| 33 | const auto tp = system_clock::now() + seconds(2); |
| 34 | auto results = result_gen<type>::make_result_array(1024, tp, te, converter); |
| 35 | |
| 36 | std::this_thread::sleep_until(tp); |
| 37 | |
| 38 | test_result_array(std::move(results), tested_method, converter); |
| 39 | } |
| 40 | |
| 41 | template<class type, class method_functor> |
| 42 | void test_result_method_ex(std::shared_ptr<thread_executor> te, method_functor&& tested_method, value_gen<type> converter) { |
nothing calls this directly
no test coverage detected