Lines Matching refs:NumSetBits
33 EXPECT_EQ(0U, bv.NumSetBits()); in TEST()
34 EXPECT_EQ(0U, bv.NumSetBits(1)); in TEST()
35 EXPECT_EQ(0U, bv.NumSetBits(kBits)); in TEST()
47 EXPECT_EQ(2U, bv.NumSetBits()); in TEST()
48 EXPECT_EQ(1U, bv.NumSetBits(1)); in TEST()
49 EXPECT_EQ(2U, bv.NumSetBits(kBits)); in TEST()
78 EXPECT_EQ(0U, bv.NumSetBits()); in TEST()
81 EXPECT_EQ(1U, bv.NumSetBits()); in TEST()
84 EXPECT_EQ(1U, bv.NumSetBits()); in TEST()
87 EXPECT_EQ(2U, bv.NumSetBits()); in TEST()
90 EXPECT_EQ(2U, bv.NumSetBits()); in TEST()
93 EXPECT_EQ(3U, bv.NumSetBits()); in TEST()
96 EXPECT_EQ(3U, bv.NumSetBits()); in TEST()
99 EXPECT_EQ(4U, bv.NumSetBits()); in TEST()
102 EXPECT_EQ(4U, bv.NumSetBits()); in TEST()
104 EXPECT_EQ(0U, bv.NumSetBits(1)); in TEST()
106 EXPECT_EQ(0U, bv.NumSetBits(8)); in TEST()
107 EXPECT_EQ(1U, bv.NumSetBits(9)); in TEST()
108 EXPECT_EQ(1U, bv.NumSetBits(10)); in TEST()
110 EXPECT_EQ(1U, bv.NumSetBits(16)); in TEST()
111 EXPECT_EQ(2U, bv.NumSetBits(17)); in TEST()
112 EXPECT_EQ(2U, bv.NumSetBits(18)); in TEST()
114 EXPECT_EQ(2U, bv.NumSetBits(32)); in TEST()
115 EXPECT_EQ(3U, bv.NumSetBits(33)); in TEST()
116 EXPECT_EQ(3U, bv.NumSetBits(34)); in TEST()
118 EXPECT_EQ(3U, bv.NumSetBits(48)); in TEST()
119 EXPECT_EQ(4U, bv.NumSetBits(49)); in TEST()
120 EXPECT_EQ(4U, bv.NumSetBits(50)); in TEST()
122 EXPECT_EQ(4U, bv.NumSetBits(64)); in TEST()
133 EXPECT_EQ(0u, bv.NumSetBits()); in TEST()
135 EXPECT_EQ(1u, bv.NumSetBits()); in TEST()
137 EXPECT_EQ(32u, bv.NumSetBits()); in TEST()
139 EXPECT_EQ(63u, bv.NumSetBits()); in TEST()
141 EXPECT_EQ(64u, bv.NumSetBits()); in TEST()
153 EXPECT_EQ(0u, first.NumSetBits()); in TEST()
164 EXPECT_EQ(1u, first.NumSetBits()); in TEST()