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

Method test_task_call_operator_test_2

test/source/tests/task_tests.cpp:528–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526}
527
528void concurrencpp::tests::test_task_call_operator_test_2() {
529 task t([] {
530 throw std::logic_error("example");
531 });
532
533 assert_throws<std::logic_error>(t);
534}
535
536void concurrencpp::tests::test_task_call_operator_test_3() {
537 bool a = false, b = false, c = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected