Merge branch 'google3' to roll forward up to cl/355791747.

This commit is contained in:
hai007
2021-02-08 03:58:04 -08:00
8 changed files with 191 additions and 24 deletions
@@ -33,6 +33,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