reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
742 A.resize(10); 743 A.setBitsInMask(Mask1, 1); 744 EXPECT_EQ(10u, A.size()); 745 EXPECT_FALSE(A.test(0)); 747 A.resize(32); 748 A.setBitsInMask(Mask1, 1); 749 EXPECT_FALSE(A.test(0)); 750 EXPECT_TRUE(A.test(31)); 751 EXPECT_EQ(1u, A.count()); 753 A.resize(33); 754 A.setBitsInMask(Mask1, 1); 755 EXPECT_EQ(1u, A.count()); 756 A.setBitsInMask(Mask1, 2); 757 EXPECT_EQ(1u, A.count()); 759 A.resize(34); 760 A.setBitsInMask(Mask1, 2); 761 EXPECT_EQ(2u, A.count()); 763 A.resize(65); 764 A.setBitsInMask(Mask1, 3); 765 EXPECT_EQ(4u, A.count()); 767 A.setBitsNotInMask(Mask1, 1); 768 EXPECT_EQ(32u+3u, A.count()); 770 A.setBitsNotInMask(Mask1, 3); 771 EXPECT_EQ(65u, A.count()); 773 A.resize(96); 774 EXPECT_EQ(65u, A.count()); 776 A.clear(); 777 A.resize(128); 778 A.setBitsNotInMask(Mask1, 3); 779 EXPECT_EQ(96u-5u, A.count()); 781 A.clearBitsNotInMask(Mask1, 1); 782 EXPECT_EQ(64-4u, A.count());