|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
The adaptive Huffman decoder when its output cannot grow. More...
#include <gtest/gtest.h>#include "allocation_failure.H"#include <cstddef>#include <new>#include <random>#include <stdexcept>#include <string>#include <Adaptive_Huffman.H>Go to the source code of this file.
Functions | |
| TEST_F (AdaptiveHuffmanWithoutMemory, ALostByteLeavesTheDecoderFailed) | |
| TEST_F (AdaptiveHuffmanWithoutMemory, DecodeBitLetsTheCallerGoOn) | |
The adaptive Huffman decoder when its output cannot grow.
Definition in file adaptive_huffman_allocation_test.cc.
| TEST_F | ( | AdaptiveHuffmanWithoutMemory | , |
| ALostByteLeavesTheDecoderFailed | |||
| ) |
Definition at line 81 of file adaptive_huffman_allocation_test.cc.
References Aleph::bits(), Aleph::Adaptive_Huffman_Decoder::decode(), Aleph::Adaptive_Huffman_Decoder::decode_bit(), Aleph::Adaptive_Huffman_Encoder::encode(), Aleph::Adaptive_Huffman_Decoder::finish(), k, Aleph::message(), output, Aleph::prefix(), Aleph::Adaptive_Huffman_Decoder::reset(), and Aleph::Adaptive_Huffman_Decoder::symbols_processed().
| TEST_F | ( | AdaptiveHuffmanWithoutMemory | , |
| DecodeBitLetsTheCallerGoOn | |||
| ) |
Definition at line 144 of file adaptive_huffman_allocation_test.cc.
References Aleph::and, Aleph::bits(), Aleph::Adaptive_Huffman_Decoder::decode_bit(), Aleph::Adaptive_Huffman_Encoder::encode(), Aleph::Adaptive_Huffman_Decoder::finish(), Aleph::message(), Aleph::none(), and output.