unittest/bitvector_test.cc
TEST_F(BitVectorTest, TestNextSetBit) {
  BitVector bv;
  for (int spacing = 1; spacing <= 5; ++spacing) {
    SetBitPattern(0, 256, spacing, &bv);
    ExpectCorrectBits(bv);
  }
}
// Tests the values in the tables offset_table_, next_table_, hamming_table_
// by setting all possible byte patterns and verifying that the NextSetBit and
// NumSetBits functions return the correct values.
Tests the values in the tables offset_table_, next_table_, hamming_table_
by setting all possible byte patterns and verifying that the NextSetBit and
NumSetBits functions return the correct values.
Tests the values in the tables offset_table_ next_table_ hamming_table_ by setting all possible byte patterns and verifying that the NextSetBit and NumSetBits functions return the correct values .
TEST_F(BitVectorTest, TestNextSetBit) {
  BitVector bv;
  for (int spacing = 1; spacing <= 5; ++spacing) {
    SetBitPattern(0, 256, spacing, &bv);
    ExpectCorrectBits(bv);
  }
}
TEST_F ( BitVectorTest , TestNextSetBit ) { BitVector bv ; for ( int spacing = 1 ; spacing <= 5 ; ++ spacing ) { SetBitPattern ( 0 , 256 , spacing , & bv ) ; ExpectCorrectBits ( bv ) ; } }
Tests the values in the tables offset_table_, next_table_, hamming_table_
by setting all possible byte patterns and verifying that the NextSetBit and
NumSetBits functions return the correct values.
Tests the values in the tables offset_table_ next_table_ hamming_table_ by setting all possible byte patterns and verifying that the NextSetBit and NumSetBits functions return the correct values .