Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Functions | Variables
Histogram.ut.cpp File Reference
#include "Histogram.hpp"
#include <boost/test/unit_test.hpp>
Include dependency graph for Histogram.ut.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (HistogramBasicCase)
 
 BOOST_AUTO_TEST_CASE (HistogramEmptyCase)
 
 BOOST_AUTO_TEST_CASE (HistogramRecordValueCase)
 
 BOOST_AUTO_TEST_CASE (HistogramInvalidSigFigCase)
 
 BOOST_AUTO_TEST_CASE (HistogramInvalidInitCase)
 
 BOOST_AUTO_TEST_CASE (HistogramOutOfRangeCase)
 
 BOOST_AUTO_TEST_CASE (HistogramResetCase)
 
 BOOST_AUTO_TEST_CASE (HistogramTotalCountCase)
 
 BOOST_AUTO_TEST_CASE (HistogramRecordEquivalentValueCase)
 

Variables

constexpr std::int64_t Lowest {1}
 
constexpr std::int64_t Highest {3600ULL * 1000 * 1000}
 
constexpr std::int32_t Significant {3}
 
constexpr auto TestValueLevel = 4
 
constexpr auto Interval = 10000
 
constexpr auto Bitness = 64
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

BOOST_AUTO_TEST_CASE ( HistogramBasicCase  )

Definition at line 33 of file Histogram.ut.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/9]

BOOST_AUTO_TEST_CASE ( HistogramEmptyCase  )

Definition at line 47 of file Histogram.ut.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( HistogramRecordValueCase  )

Definition at line 54 of file Histogram.ut.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( HistogramInvalidSigFigCase  )

Definition at line 62 of file Histogram.ut.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/9]

BOOST_AUTO_TEST_CASE ( HistogramInvalidInitCase  )

Definition at line 69 of file Histogram.ut.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( HistogramOutOfRangeCase  )

Definition at line 75 of file Histogram.ut.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( HistogramResetCase  )

Definition at line 82 of file Histogram.ut.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( HistogramTotalCountCase  )

Definition at line 92 of file Histogram.ut.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( HistogramRecordEquivalentValueCase  )

Definition at line 101 of file Histogram.ut.cpp.

Variable Documentation

◆ Lowest

constexpr std::int64_t Lowest {1}
constexpr

◆ Highest

constexpr std::int64_t Highest {3600ULL * 1000 * 1000}
constexpr

◆ Significant

constexpr std::int32_t Significant {3}
constexpr

◆ TestValueLevel

constexpr auto TestValueLevel = 4
constexpr

Definition at line 29 of file Histogram.ut.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ Interval

constexpr auto Interval = 10000
constexpr

Definition at line 30 of file Histogram.ut.cpp.

◆ Bitness

constexpr auto Bitness = 64
constexpr

Definition at line 31 of file Histogram.ut.cpp.

Referenced by BOOST_AUTO_TEST_CASE().