![]() |
Project
|
Test program for Huffman codec template class. More...
#include <boost/test/unit_test.hpp>#include <filesystem>#include <iostream>#include <iomanip>#include <sstream>#include <vector>#include <bitset>#include <thread>#include <stdexcept>#include "../include/DataCompression/dc_primitives.h"#include "../include/DataCompression/HuffmanCodec.h"#include "CommonUtils/StringUtils.h"#include "DataGenerator.h"#include "Fifo.h"Go to the source code of this file.
Namespaces | |
| namespace | o2 |
| a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects | |
| namespace | o2::data_compression |
Macros | |
| #define | BOOST_TEST_MODULE HuffmanCodec unit test |
| #define | BOOST_TEST_MAIN |
| #define | BOOST_TEST_DYN_LINK |
Functions | |
| template<class RandvalStreamT , class EncodedStreamT , class CodecT > | |
| void | o2::data_compression::decoderProcess (RandvalStreamT &fifoRandvals, EncodedStreamT &fifoEncoded, CodecT &codec) |
| template<typename CodecT , typename GeneratorT > | |
| void | o2::data_compression::checkRandom (CodecT &codec, GeneratorT &generator, int nRolls=1000000) |
| auto | o2::data_compression::setupCodec (int verbosity=0) |
| o2::data_compression::BOOST_AUTO_TEST_CASE (test_HuffmanCodec_basic) | |
| o2::data_compression::BOOST_AUTO_TEST_CASE (test_HuffmanCodec_configuration) | |
Test program for Huffman codec template class.
Definition in file test_HuffmanCodec.cxx.
| #define BOOST_TEST_DYN_LINK |
Definition at line 19 of file test_HuffmanCodec.cxx.
| #define BOOST_TEST_MAIN |
Definition at line 18 of file test_HuffmanCodec.cxx.
| #define BOOST_TEST_MODULE HuffmanCodec unit test |
Definition at line 17 of file test_HuffmanCodec.cxx.