Home | History | Annotate | Download | only in test

Lines Matching refs:read_bit

163   auto read_bit = [&bit_reader](bool* bit) { return bit_reader.ReadBit(bit); };
167 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));
170 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));
173 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));
176 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));
179 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));
182 ASSERT_FALSE(huffman.DecodeFromStream(read_bit, &decoded));
196 auto read_bit = [&bit_reader](bool* bit) { return bit_reader.ReadBit(bit); };
200 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));
203 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));
206 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));
209 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));
212 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));
215 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));
301 auto read_bit = [&bit_reader](bool* bit) { return bit_reader.ReadBit(bit); };
304 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded));