Roll forward up to cl/355791747.

This commit is contained in:
hai007
2021-02-08 03:57:34 -08:00
parent 5bc388a00a
commit 84efda0868
8 changed files with 191 additions and 24 deletions
@@ -19,6 +19,17 @@ TEST(AtomicBooleanTest, GetReturnsWhatWasSet) {
EXPECT_TRUE(value.Get());
}
TEST(AtomicBooleanTest, ImplicitGetTrueValue) {
AtomicBoolean value(true);
EXPECT_TRUE(value);
}
TEST(AtomicBooleanTest, ImplicitGetFalseValue) {
AtomicBoolean value(false);
EXPECT_FALSE(value);
}
} // namespace
} // namespace nearby
} // namespace location