src/base/flags.test.cc
/** Test constructor with an initial multi-bit value. */
Test constructor with an initial multi-bit value.
Test constructor with an initial multi - bit value .
TEST(FlagsTest, ConstructorMulti)
{
    const uint32_t value = (1 << 3) | (1 << 5) | (1 << 9);
    const Flags<uint32_t> flags(value);
    ASSERT_EQ(value, uint32_t(flags));
}
TEST ( FlagsTest , ConstructorMulti ) { const uint32_t value = ( 1 << 3 ) | ( 1 << 5 ) | ( 1 << 9 ) ; const Flags < uint32_t > flags ( value ) ; ASSERT_EQ ( value , uint32_t ( flags ) ) ; }
Test constructor with an initial multi-bit value.
Test constructor with an initial multi - bit value .