src/base/flags.test.cc
/** Test constructor with a single-bit initial value. */
Test constructor with a single-bit initial value.
Test constructor with a single - bit initial value .
TEST(FlagsTest, ConstructorSingle)
{
    const uint32_t value = (1 << 3);
    const Flags<uint32_t> flags(value);
    ASSERT_EQ(value, uint32_t(flags));
}
TEST ( FlagsTest , ConstructorSingle ) { const uint32_t value = ( 1 << 3 ) ; const Flags < uint32_t > flags ( value ) ; ASSERT_EQ ( value , uint32_t ( flags ) ) ; }
Test constructor with a single-bit initial value.
Test constructor with a single - bit initial value .