![]() |
Project
|
#include "ElectronicMapperImplHelper.h"
#include <boost/test/unit_test.hpp>
#include "MCHRawElecMap/Mapper.h"
#include "dslist.h"
#include <array>
#include <boost/mpl/list.hpp>
#include <fmt/format.h>
#include <gsl/span>
#include <set>
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE Test MCHRaw CRUEncoder |
#define | BOOST_TEST_MAIN |
#define | BOOST_TEST_DYN_LINK |
Typedefs | |
typedef boost::mpl::list< o2::mch::raw::ElectronicMapperDummy, o2::mch::raw::ElectronicMapperGenerated > | testTypes |
typedef boost::mpl::list< o2::mch::raw::ElectronicMapperGenerated > | realTypes |
Variables | |
auto | dslist = createDualSampaMapper() |
#define BOOST_TEST_DYN_LINK |
Definition at line 15 of file testElectronicMapper.cxx.
#define BOOST_TEST_MAIN |
Definition at line 14 of file testElectronicMapper.cxx.
#define BOOST_TEST_MODULE Test MCHRaw CRUEncoder |
Definition at line 13 of file testElectronicMapper.cxx.
typedef boost::mpl::list<o2::mch::raw::ElectronicMapperGenerated> realTypes |
Definition at line 35 of file testElectronicMapper.cxx.
typedef boost::mpl::list<o2::mch::raw::ElectronicMapperDummy, o2::mch::raw::ElectronicMapperGenerated> testTypes |
Definition at line 32 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE | ( | CircularSolarId2IndexCheck | ) |
Definition at line 685 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE | ( | NumberOfDualSampasPerFeeId | ) |
Definition at line 600 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE | ( | NumberOfSolarsPerFeeId | ) |
Definition at line 522 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE | ( | SpotCheck | ) |
Definition at line 514 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | AllSolarsMustGetAFeeLinkAndTheReverse | , |
T | , | ||
testTypes | |||
) |
Definition at line 478 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | CheckAFewSolarIdThatMustHaveAFeeLinkd | , |
T | , | ||
testTypes | |||
) |
Definition at line 503 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | CheckNumberOfDsElecId | , |
T | , | ||
testTypes | |||
) |
Definition at line 495 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | CheckNumberOfSolars | , |
T | , | ||
testTypes | |||
) |
Definition at line 489 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | CheckNumberOfSolarsPerDetectionElement | , |
T | , | ||
realTypes | |||
) |
Definition at line 258 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH10L | , |
T | , | ||
testTypes | |||
) |
Definition at line 248 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH10R | , |
T | , | ||
testTypes | |||
) |
Definition at line 241 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH1L | , |
T | , | ||
testTypes | |||
) |
Definition at line 114 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH1R | , |
T | , | ||
testTypes | |||
) |
Definition at line 106 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH2L | , |
T | , | ||
testTypes | |||
) |
Definition at line 130 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH2R | , |
T | , | ||
testTypes | |||
) |
Definition at line 122 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH3L | , |
T | , | ||
testTypes | |||
) |
Definition at line 146 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH3R | , |
T | , | ||
testTypes | |||
) |
Definition at line 138 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH4L | , |
T | , | ||
testTypes | |||
) |
Definition at line 162 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH4R | , |
T | , | ||
testTypes | |||
) |
Definition at line 154 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH5L | , |
T | , | ||
testTypes | |||
) |
Definition at line 178 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH5R | , |
T | , | ||
testTypes | |||
) |
Definition at line 170 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH6L | , |
T | , | ||
testTypes | |||
) |
Definition at line 192 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH6R | , |
T | , | ||
testTypes | |||
) |
Definition at line 185 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH7L | , |
T | , | ||
testTypes | |||
) |
Definition at line 206 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH7R | , |
T | , | ||
testTypes | |||
) |
Definition at line 199 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH8L | , |
T | , | ||
testTypes | |||
) |
Definition at line 220 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH8R | , |
T | , | ||
testTypes | |||
) |
Definition at line 213 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH9L | , |
T | , | ||
testTypes | |||
) |
Definition at line 234 of file testElectronicMapper.cxx.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | MustContainAllSampaCH9R | , |
T | , | ||
testTypes | |||
) |
Definition at line 227 of file testElectronicMapper.cxx.
int expectedNumberOfDs | ( | ) |
int expectedNumberOfDs< ElectronicMapperDummy > | ( | ) |
Definition at line 467 of file testElectronicMapper.cxx.
int expectedNumberOfDs< ElectronicMapperGenerated > | ( | ) |
Definition at line 473 of file testElectronicMapper.cxx.
int expectedNumberOfSolars | ( | ) |
int expectedNumberOfSolars< ElectronicMapperDummy > | ( | ) |
Definition at line 453 of file testElectronicMapper.cxx.
int expectedNumberOfSolars< ElectronicMapperGenerated > | ( | ) |
Definition at line 458 of file testElectronicMapper.cxx.
std::set< int > nofDualSampas | ( | std::array< int, N > | deIds | ) |
Definition at line 65 of file testElectronicMapper.cxx.
Definition at line 78 of file testElectronicMapper.cxx.
auto dslist = createDualSampaMapper() |
Definition at line 62 of file testElectronicMapper.cxx.