MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / test_result_method_val

Function test_result_method_val

test/source/thread_sanitizer/result.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30namespace 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) {

Callers

nothing calls this directly

Calls 1

test_result_arrayFunction · 0.85

Tested by

no test coverage detected