Project
Loading...
Searching...
No Matches
test_ransBitPtr.cxx File Reference
#include <cassert>
#include <boost/test/unit_test.hpp>
#include <boost/mp11.hpp>
#include "rANS/internal/containers/BitPtr.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
 

Typedefs

using source_types = boost::mp11::mp_list< int8_t, int16_t, int32_t >
 

Functions

 BOOST_AUTO_TEST_CASE_TEMPLATE (test_BitPtrConstructors, source_type, source_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (test_BitPtr, source_type, source_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (test_BitPtrCasts, source_type, source_types)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 18 of file test_ransBitPtr.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 17 of file test_ransBitPtr.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Utility test

Definition at line 16 of file test_ransBitPtr.cxx.

Typedef Documentation

◆ source_types

using source_types = boost::mp11::mp_list<int8_t, int16_t, int32_t>

Definition at line 32 of file test_ransBitPtr.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/3]

BOOST_AUTO_TEST_CASE_TEMPLATE ( test_BitPtr  ,
source_type  ,
source_types   
)

Definition at line 73 of file test_ransBitPtr.cxx.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/3]

BOOST_AUTO_TEST_CASE_TEMPLATE ( test_BitPtrCasts  ,
source_type  ,
source_types   
)

Definition at line 138 of file test_ransBitPtr.cxx.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/3]

BOOST_AUTO_TEST_CASE_TEMPLATE ( test_BitPtrConstructors  ,
source_type  ,
source_types   
)

Definition at line 34 of file test_ransBitPtr.cxx.