D | BitSet_test.cpp | 29 BitSet32 b1; member in android::BitSet32Test 32 b1.clear(); in TearDown() 39 b1.markBit(2); in TEST_F() 42 BitSet32 tmp = b1 | b2; in TEST_F() 46 EXPECT_TRUE((b2 | b1) == (b1 | b2)); in TEST_F() 48 b1 |= b2; in TEST_F() 49 EXPECT_EQ(b1.count(), 2u); in TEST_F() 50 EXPECT_TRUE(b1.hasBit(2) && b1.hasBit(4)); in TEST_F() 54 b1.markBit(2); in TEST_F() 55 b1.markBit(4); in TEST_F() [all …]
|