void polarity_test(std::shared_ptr<Test> test) { test->harness->callAndReport([test2 = std::move(test)]() mutable { test2->reverse_polarity(); ::resume_on_main_thread([test3 = std::move(test2)]() { test3->reverse_polarity(); }); }); }