CbmRoot
Loading...
Searching...
No Matches
_GTestChannelMapping.cxx File Reference
#include "Definitions.h"
#include "detectors/sts/StsRecoUtils.h"
#include <array>
#include <optional>
#include <gtest.h>
#include <gtest/gtest-death-test.h>
#include <gtest/gtest.h>
Include dependency graph for _GTestChannelMapping.cxx:

Go to the source code of this file.

Macros

#define EXPECT_OPT(maybe_val1, val2)
 

Functions

 TEST (_ChannelMapping, FailOnValueLimits)
 
 TEST (_ChannelMapping, ReverseFailOnValueLimits)
 
 TEST (_ChannelMapping, ModuleEdgesMapping)
 
 TEST (_ChannelMapping, ReverseModuleEdgesMapping)
 
 TEST (_ChannelMapping, ExaustiveMapping)
 
 TEST (_ChannelMapping, Compatibility)
 
 TEST (_ChannelMapping, Completness)
 

Macro Definition Documentation

◆ EXPECT_OPT

#define EXPECT_OPT ( maybe_val1,
val2 )
Value:
ASSERT_TRUE(maybe_val1.has_value()); \
EXPECT_EQ(*maybe_val1, val2)
InOutStructure val2

Definition at line 15 of file _GTestChannelMapping.cxx.

Referenced by TEST(), TEST(), TEST(), and TEST().

Function Documentation

◆ TEST() [1/7]

◆ TEST() [2/7]

◆ TEST() [3/7]

◆ TEST() [4/7]

TEST ( _ChannelMapping ,
FailOnValueLimits  )

◆ TEST() [5/7]

TEST ( _ChannelMapping ,
ModuleEdgesMapping  )

◆ TEST() [6/7]

TEST ( _ChannelMapping ,
ReverseFailOnValueLimits  )

◆ TEST() [7/7]

TEST ( _ChannelMapping ,
ReverseModuleEdgesMapping  )

Definition at line 42 of file _GTestChannelMapping.cxx.

References cbm::algo::sts::Module::ChannelInAsic(), and EXPECT_OPT.