| 37 | }; |
| 38 | |
| 39 | TEST_F(CoroutineFutexTest, do_not_suspend_if_value_not_match) { |
| 40 | executor |
| 41 | .execute([&]() -> Task<> { |
| 42 | co_return co_await futex.wait(10086); |
| 43 | }) |
| 44 | .get(); |
| 45 | } |
| 46 | |
| 47 | TEST_F(CoroutineFutexTest, empty_futex_wakeup_nothing) { |
| 48 | ASSERT_EQ(0, futex.wake_one()); |
nothing calls this directly
no test coverage detected