Lines Matching refs:NumSetBits

36   EXPECT_EQ(0U, bv.NumSetBits());  in TEST()
37 EXPECT_EQ(0U, bv.NumSetBits(1)); in TEST()
38 EXPECT_EQ(0U, bv.NumSetBits(kBits)); in TEST()
50 EXPECT_EQ(2U, bv.NumSetBits()); in TEST()
51 EXPECT_EQ(1U, bv.NumSetBits(1)); in TEST()
52 EXPECT_EQ(2U, bv.NumSetBits(kBits)); in TEST()
93 EXPECT_EQ(bv.NumSetBits(), 0u); in TEST()
107 EXPECT_EQ(0U, bv.NumSetBits()); in TEST()
110 EXPECT_EQ(1U, bv.NumSetBits()); in TEST()
113 EXPECT_EQ(1U, bv.NumSetBits()); in TEST()
116 EXPECT_EQ(2U, bv.NumSetBits()); in TEST()
119 EXPECT_EQ(2U, bv.NumSetBits()); in TEST()
122 EXPECT_EQ(3U, bv.NumSetBits()); in TEST()
125 EXPECT_EQ(3U, bv.NumSetBits()); in TEST()
128 EXPECT_EQ(4U, bv.NumSetBits()); in TEST()
131 EXPECT_EQ(4U, bv.NumSetBits()); in TEST()
133 EXPECT_EQ(0U, bv.NumSetBits(1)); in TEST()
135 EXPECT_EQ(0U, bv.NumSetBits(8)); in TEST()
136 EXPECT_EQ(1U, bv.NumSetBits(9)); in TEST()
137 EXPECT_EQ(1U, bv.NumSetBits(10)); in TEST()
139 EXPECT_EQ(1U, bv.NumSetBits(16)); in TEST()
140 EXPECT_EQ(2U, bv.NumSetBits(17)); in TEST()
141 EXPECT_EQ(2U, bv.NumSetBits(18)); in TEST()
143 EXPECT_EQ(2U, bv.NumSetBits(32)); in TEST()
144 EXPECT_EQ(3U, bv.NumSetBits(33)); in TEST()
145 EXPECT_EQ(3U, bv.NumSetBits(34)); in TEST()
147 EXPECT_EQ(3U, bv.NumSetBits(48)); in TEST()
148 EXPECT_EQ(4U, bv.NumSetBits(49)); in TEST()
149 EXPECT_EQ(4U, bv.NumSetBits(50)); in TEST()
151 EXPECT_EQ(4U, bv.NumSetBits(64)); in TEST()
162 EXPECT_EQ(0u, bv.NumSetBits()); in TEST()
164 EXPECT_EQ(1u, bv.NumSetBits()); in TEST()
166 EXPECT_EQ(32u, bv.NumSetBits()); in TEST()
168 EXPECT_EQ(63u, bv.NumSetBits()); in TEST()
170 EXPECT_EQ(64u, bv.NumSetBits()); in TEST()
182 EXPECT_EQ(0u, first.NumSetBits()); in TEST()
193 EXPECT_EQ(1u, first.NumSetBits()); in TEST()
374 EXPECT_EQ(bva.GetRawData().NumSetBits(), bva.NumColumns()); in TEST()
381 EXPECT_EQ(bva.GetRawData().NumSetBits(), bva.NumRows()); in TEST()
403 EXPECT_EQ(bva.GetRawData().NumSetBits(), 7u); in TEST()