| 11 | using ::babylon::Promise; |
| 12 | |
| 13 | TEST(future, future_create_by_default_not_valid) { |
| 14 | Future<int> future; |
| 15 | ASSERT_FALSE(future.valid()); |
| 16 | ASSERT_FALSE(future); |
| 17 | ASSERT_FALSE(future.ready()); |
| 18 | } |
| 19 | |
| 20 | TEST(future, value_set_by_promise_can_get_by_future_related) { |
| 21 | { |
nothing calls this directly
no test coverage detected