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