Project
Loading...
Searching...
No Matches
test_ransReverseSymbolLookupTable.cxx File Reference
#include <numeric>
#include <vector>
#include <iterator>
#include <boost/test/unit_test.hpp>
#include <boost/mpl/vector.hpp>
#include "rANS/internal/containers/ReverseSymbolLookupTable.h"
#include "rANS/internal/containers/DenseHistogram.h"
#include "rANS/internal/containers/RenormedHistogram.h"
#include "rANS/internal/transform/renorm.h"
#include "rANS/factory.h"

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   Utility test
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

template<typename T >
size_t getNUniqueSymbols (const T &container)
 
 BOOST_AUTO_TEST_CASE (test_empty)
 
 BOOST_AUTO_TEST_CASE (test_buildRLUT)
 

Detailed Description

Author
Michael Lettrich

Definition in file test_ransReverseSymbolLookupTable.cxx.

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 18 of file test_ransReverseSymbolLookupTable.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 17 of file test_ransReverseSymbolLookupTable.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Utility test

Definition at line 16 of file test_ransReverseSymbolLookupTable.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( test_buildRLUT  )

Definition at line 56 of file test_ransReverseSymbolLookupTable.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( test_empty  )

Definition at line 42 of file test_ransReverseSymbolLookupTable.cxx.

◆ getNUniqueSymbols()

template<typename T >
size_t getNUniqueSymbols ( const T &  container)

Definition at line 37 of file test_ransReverseSymbolLookupTable.cxx.