Project
Loading...
Searching...
No Matches
test_ransSparseVector.cxx File Reference
#include <cassert>
#include <boost/test/unit_test.hpp>
#include <boost/mpl/vector.hpp>
#include <gsl/span>
#include "rANS/internal/containers/SparseVector.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_type = int32_t
 
using sparseVector_type = SparseVector< source_type, uint32_t >
 

Functions

 BOOST_AUTO_TEST_CASE (test_empty)
 
 BOOST_AUTO_TEST_CASE (test_write)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 18 of file test_ransSparseVector.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 17 of file test_ransSparseVector.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Utility test

Definition at line 16 of file test_ransSparseVector.cxx.

Typedef Documentation

◆ source_type

using source_type = int32_t

Definition at line 32 of file test_ransSparseVector.cxx.

◆ sparseVector_type

Definition at line 33 of file test_ransSparseVector.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( test_empty  )

Definition at line 35 of file test_ransSparseVector.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( test_write  )

Definition at line 46 of file test_ransSparseVector.cxx.