![]() |
Project
|
test helper class that unifies handling of different types of histograms More...
#include <vector>
#include <algorithm>
#include <boost/test/unit_test.hpp>
#include <boost/mpl/vector.hpp>
#include "rANS/internal/containers/HistogramView.h"
Go to the source code of this file.
Classes | |
struct | ReferenceState |
struct | HistogramViewFixture_one |
struct | HistogramViewFixture_plus |
struct | HistogramViewFixture_minus |
struct | HistogramViewFixture_plusminus |
struct | trimFixture_left |
struct | trimFixture_right |
struct | trimFixture_both |
struct | trimFixture_none |
Macros | |
#define | BOOST_TEST_MODULE Utility test |
#define | BOOST_TEST_MAIN |
#define | BOOST_TEST_DYN_LINK |
Typedefs | |
using | histogramViewFixtures_t = boost::mpl::vector< HistogramViewFixture_one, HistogramViewFixture_plus, HistogramViewFixture_minus, HistogramViewFixture_plusminus > |
using | trimFixture_t = boost::mpl::vector< trimFixture_left, trimFixture_right, trimFixture_both, trimFixture_none > |
Functions | |
BOOST_AUTO_TEST_CASE (test_emptyHistogramView) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (test_histogramView, fixture, histogramViewFixtures_t) | |
BOOST_AUTO_TEST_CASE (test_trimEmpty) | |
BOOST_AUTO_TEST_CASE (test_trimFull) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (test_trim, fixture, trimFixture_t) | |
BOOST_AUTO_TEST_CASE (intersection_disjointLeft) | |
BOOST_AUTO_TEST_CASE (intersection_disjointRight) | |
BOOST_AUTO_TEST_CASE (intersection_leftOverlap) | |
BOOST_AUTO_TEST_CASE (intersection_rightOverlap) | |
BOOST_AUTO_TEST_CASE (intersection_fullOverlap) | |
BOOST_AUTO_TEST_CASE (intersection_emptyB) | |
BOOST_AUTO_TEST_CASE (intersection_emptyA) | |
BOOST_AUTO_TEST_CASE (intersection_empty) | |
BOOST_AUTO_TEST_CASE (tails_empty) | |
BOOST_AUTO_TEST_CASE (tails_emptyA) | |
BOOST_AUTO_TEST_CASE (tails_emptyB) | |
BOOST_AUTO_TEST_CASE (tails_leftTail) | |
BOOST_AUTO_TEST_CASE (tails_rightTail) | |
BOOST_AUTO_TEST_CASE (tails_bothTail) | |
test helper class that unifies handling of different types of histograms
Definition in file test_ransHistogramView.cxx.
#define BOOST_TEST_DYN_LINK |
Definition at line 18 of file test_ransHistogramView.cxx.
#define BOOST_TEST_MAIN |
Definition at line 17 of file test_ransHistogramView.cxx.
#define BOOST_TEST_MODULE Utility test |
Definition at line 16 of file test_ransHistogramView.cxx.
using histogramViewFixtures_t = boost::mpl::vector<HistogramViewFixture_one, HistogramViewFixture_plus, HistogramViewFixture_minus, HistogramViewFixture_plusminus> |
Definition at line 78 of file test_ransHistogramView.cxx.
using trimFixture_t = boost::mpl::vector<trimFixture_left, trimFixture_right, trimFixture_both, trimFixture_none> |
Definition at line 161 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | intersection_disjointLeft | ) |
Definition at line 184 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | intersection_disjointRight | ) |
Definition at line 203 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | intersection_empty | ) |
Definition at line 317 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | intersection_emptyA | ) |
Definition at line 298 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | intersection_emptyB | ) |
Definition at line 279 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | intersection_fullOverlap | ) |
Definition at line 260 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | intersection_leftOverlap | ) |
Definition at line 222 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | intersection_rightOverlap | ) |
Definition at line 241 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | tails_bothTail | ) |
Definition at line 476 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | tails_empty | ) |
Definition at line 336 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | tails_emptyA | ) |
Definition at line 364 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | tails_emptyB | ) |
Definition at line 392 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | tails_leftTail | ) |
Definition at line 420 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | tails_rightTail | ) |
Definition at line 448 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | test_emptyHistogramView | ) |
Definition at line 43 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | test_trimEmpty | ) |
Definition at line 100 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE | ( | test_trimFull | ) |
Definition at line 115 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | test_histogramView | , |
fixture | , | ||
histogramViewFixtures_t | |||
) |
Definition at line 83 of file test_ransHistogramView.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | test_trim | , |
fixture | , | ||
trimFixture_t | |||
) |
Definition at line 166 of file test_ransHistogramView.cxx.