![]() |
Project
|
#include <cassert>#include <vector>#include <cstring>#include <boost/test/unit_test.hpp>#include <boost/mp11.hpp>#include <gsl/span>#include "rANS/factory.h"#include "rANS/histogram.h"#include "rANS/encode.h"Go to the source code of this file.
Classes | |
| struct | Empty< T > |
| struct | Full< T > |
| struct | hasSameTemplateParam< L > |
Macros | |
| #define | BOOST_TEST_MODULE Utility test |
| #define | BOOST_TEST_MAIN |
| #define | BOOST_TEST_DYN_LINK |
Typedefs | |
| using | source_types = boost::mp11::mp_list< int8_t, int16_t, int32_t > |
| using | testInput_templates = boost::mp11::mp_list< boost::mp11::mp_quote< Empty >, boost::mp11::mp_quote< Full > > |
| using | testInputAll_types = boost::mp11::mp_product< boost::mp11::mp_invoke_q, testInput_templates, source_types > |
| using | testInputProduct_types = boost::mp11::mp_product< boost::mp11::mp_list, testInputAll_types, testInputAll_types > |
| using | testInput_types = boost::mp11::mp_copy_if< testInputProduct_types, hasSameTemplateParam > |
| using | coder_types = boost::mp11::mp_list< std::integral_constant< CoderTag, CoderTag::Compat > > |
| using | testCase_types = boost::mp11::mp_product< boost::mp11::mp_list, coder_types, testInput_types > |
Functions | |
| BOOST_AUTO_TEST_CASE_TEMPLATE (test_encodeDecode, test_types, testCase_types) | |
| BOOST_AUTO_TEST_CASE (test_NoSingleStream) | |
| BOOST_AUTO_TEST_CASE (test_NoSSE) | |
| BOOST_AUTO_TEST_CASE (test_NoAVX2) | |
Variables | |
| const std::string | str |
| constexpr size_t | RansRenormingPrecision = 16 |
| #define BOOST_TEST_DYN_LINK |
Definition at line 18 of file test_ransEncodeDecode.cxx.
| #define BOOST_TEST_MAIN |
Definition at line 17 of file test_ransEncodeDecode.cxx.
| #define BOOST_TEST_MODULE Utility test |
Definition at line 16 of file test_ransEncodeDecode.cxx.
| using coder_types = boost::mp11::mp_list<std::integral_constant<CoderTag, CoderTag::Compat> > |
Definition at line 79 of file test_ransEncodeDecode.cxx.
| using source_types = boost::mp11::mp_list<int8_t, int16_t, int32_t> |
Definition at line 71 of file test_ransEncodeDecode.cxx.
| using testCase_types = boost::mp11::mp_product<boost::mp11::mp_list, coder_types, testInput_types> |
Definition at line 94 of file test_ransEncodeDecode.cxx.
| using testInput_templates = boost::mp11::mp_list<boost::mp11::mp_quote<Empty>, boost::mp11::mp_quote<Full> > |
Definition at line 73 of file test_ransEncodeDecode.cxx.
| using testInput_types = boost::mp11::mp_copy_if<testInputProduct_types, hasSameTemplateParam> |
Definition at line 77 of file test_ransEncodeDecode.cxx.
| using testInputAll_types = boost::mp11::mp_product<boost::mp11::mp_invoke_q, testInput_templates, source_types> |
Definition at line 75 of file test_ransEncodeDecode.cxx.
| using testInputProduct_types = boost::mp11::mp_product<boost::mp11::mp_list, testInputAll_types, testInputAll_types> |
Definition at line 76 of file test_ransEncodeDecode.cxx.
| BOOST_AUTO_TEST_CASE | ( | test_NoAVX2 | ) |
Definition at line 160 of file test_ransEncodeDecode.cxx.
| BOOST_AUTO_TEST_CASE | ( | test_NoSingleStream | ) |
Definition at line 148 of file test_ransEncodeDecode.cxx.
| BOOST_AUTO_TEST_CASE | ( | test_NoSSE | ) |
Definition at line 154 of file test_ransEncodeDecode.cxx.
| BOOST_AUTO_TEST_CASE_TEMPLATE | ( | test_encodeDecode | , |
| test_types | , | ||
| testCase_types | |||
| ) |
Definition at line 98 of file test_ransEncodeDecode.cxx.
|
inlineconstexpr |
Definition at line 96 of file test_ransEncodeDecode.cxx.
|
inline |
Definition at line 37 of file test_ransEncodeDecode.cxx.