Project
Loading...
Searching...
No Matches
testPedestalData.cxx File Reference
#include <boost/test/unit_test.hpp>
#include "MCHCalibration/PedestalData.h"
#include "MCHCalibration/PedestalDigit.h"
#include "MCHConstants/DetectionElements.h"
#include "MCHMappingInterface/Segmentation.h"
#include "MCHRawElecMap/Mapper.h"
#include <random>
#include <vector>

Go to the source code of this file.

Classes

struct  PedestalDigits
 

Macros

#define BOOST_TEST_MODULE   test mch calibration pedestal data
 
#define BOOST_TEST_DYN_LINK
 

Functions

std::vector< uint16_t > samples (int n)
 
 BOOST_AUTO_TEST_CASE (TestIteratorOnCompletePedestalData)
 
 BOOST_AUTO_TEST_CASE (TestIteratorEquality)
 
 BOOST_AUTO_TEST_CASE (TestIteratorInequality)
 
 BOOST_AUTO_TEST_CASE (TestIteratorPreIncrementable)
 
 BOOST_AUTO_TEST_CASE (TestIteratorAllReturnedPadAreValidByConstruction)
 
 BOOST_AUTO_TEST_CASE (TestIteratorInCountIfAlgorithm)
 
 BOOST_CHECK_EQUAL (c, 0)
 

Variables

auto c = std::distance(d.cbegin(), d.cend())
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 13 of file testPedestalData.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   test mch calibration pedestal data

Definition at line 12 of file testPedestalData.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( TestIteratorAllReturnedPadAreValidByConstruction  )

Definition at line 122 of file testPedestalData.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( TestIteratorEquality  )

Definition at line 89 of file testPedestalData.cxx.

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( TestIteratorInCountIfAlgorithm  )

Definition at line 134 of file testPedestalData.cxx.

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( TestIteratorInequality  )

Definition at line 98 of file testPedestalData.cxx.

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( TestIteratorOnCompletePedestalData  )

Definition at line 57 of file testPedestalData.cxx.

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( TestIteratorPreIncrementable  )

Definition at line 107 of file testPedestalData.cxx.

◆ BOOST_CHECK_EQUAL()

BOOST_CHECK_EQUAL ( c  ,
 
)

◆ samples()

std::vector< uint16_t > samples ( int  n)

Definition at line 24 of file testPedestalData.cxx.

Variable Documentation

◆ c

auto c = std::distance(d.cbegin(), d.cend())

Definition at line 147 of file testPedestalData.cxx.