Searched refs:num_ones (Results 1 – 1 of 1) sorted by relevance
378 std::size_t num_zeros = 0, num_ones = 0; in TestBitVector() local382 ASSERT(bv.rank1(i) == num_ones); in TestBitVector()383 ++(bv[i] ? num_ones : num_zeros); in TestBitVector()392 ASSERT(bv.num_1s() == num_ones); in TestBitVector()416 num_zeros = 0, num_ones = 0; in TestBitVector()420 ASSERT(bv.rank1(i) == num_ones); in TestBitVector()421 ++(bv[i] ? num_ones : num_zeros); in TestBitVector()430 ASSERT(bv.num_1s() == num_ones); in TestBitVector()