Home
last modified time | relevance | path

Searched refs:num_ones (Results 1 – 1 of 1) sorted by relevance

/external/marisa-trie/tests/
Dvector-test.cc378 std::size_t num_zeros = 0, num_ones = 0; in TestBitVector() local
382 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()