CbmRoot
_GTestCbmTrdDetectorId_simple3.cxx File Reference
#include "CbmDetectorList.h"
#include "CbmTrdDetectorId.h"
#include "gtest/gtest-spi.h"
#include "gtest/gtest.h"
Include dependency graph for _GTestCbmTrdDetectorId_simple3.cxx:

Go to the source code of this file.

Classes

struct  InOutStructure
 
class  CbmTrdDetectorIdParamTest
 

Functions

 TEST_P (CbmTrdDetectorIdParamTest, checkUniqueIdCreation)
 
 INSTANTIATE_TEST_CASE_P (TestAllParameters, CbmTrdDetectorIdParamTest, ::testing::Values(val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11, val12))
 

Variables

InOutStructure val1 = {0, 0, 0, 0, 0, 0, 0}
 
InOutStructure val2 = {kTRD, 0, 0, 0, 0, 0, 5}
 
InOutStructure val3 = {0, 1, 0, 0, 0, 0, 32}
 
InOutStructure val4 = {0, 0, 1, 0, 0, 0, 512}
 
InOutStructure val5 = {0, 0, 0, 1, 0, 0, 4096}
 
InOutStructure val6 = {0, 0, 0, 0, 1, 0, 131072}
 
InOutStructure val7 = {0, 0, 0, 0, 0, 1, 33554432}
 
InOutStructure val8 = {kTRD, 1, 1, 1, 1, 1, 33690149}
 
InOutStructure val9 = {kTRD, 3, 3, 2, 34, 3, 105129573}
 
InOutStructure val10 = {kTRD, 2, 3, 3, 17, 2, 69350981}
 
InOutStructure val11 = {0, 0, 0, 8, 0, 0, 32768}
 
InOutStructure val12 = {kTRD, 2, 3, 5, 17, 2, 69359173}
 

Function Documentation

◆ INSTANTIATE_TEST_CASE_P()

INSTANTIATE_TEST_CASE_P ( TestAllParameters  ,
CbmTrdDetectorIdParamTest  ,
::testing::Values(val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11, val12  
)

◆ TEST_P()

TEST_P ( CbmTrdDetectorIdParamTest  ,
checkUniqueIdCreation   
)

Definition at line 42 of file _GTestCbmTrdDetectorId_simple3.cxx.

Variable Documentation

◆ val1

InOutStructure val1 = {0, 0, 0, 0, 0, 0, 0}

Definition at line 47 of file _GTestCbmTrdDetectorId_simple3.cxx.

◆ val10

InOutStructure val10 = {kTRD, 2, 3, 3, 17, 2, 69350981}

Definition at line 56 of file _GTestCbmTrdDetectorId_simple3.cxx.

◆ val11

InOutStructure val11 = {0, 0, 0, 8, 0, 0, 32768}

Definition at line 57 of file _GTestCbmTrdDetectorId_simple3.cxx.

◆ val12

InOutStructure val12 = {kTRD, 2, 3, 5, 17, 2, 69359173}

Definition at line 58 of file _GTestCbmTrdDetectorId_simple3.cxx.

◆ val2

InOutStructure val2 = {kTRD, 0, 0, 0, 0, 0, 5}

Definition at line 48 of file _GTestCbmTrdDetectorId_simple3.cxx.

◆ val3

InOutStructure val3 = {0, 1, 0, 0, 0, 0, 32}

Definition at line 49 of file _GTestCbmTrdDetectorId_simple3.cxx.

◆ val4

InOutStructure val4 = {0, 0, 1, 0, 0, 0, 512}

Definition at line 50 of file _GTestCbmTrdDetectorId_simple3.cxx.

◆ val5

InOutStructure val5 = {0, 0, 0, 1, 0, 0, 4096}

Definition at line 51 of file _GTestCbmTrdDetectorId_simple3.cxx.

◆ val6

InOutStructure val6 = {0, 0, 0, 0, 1, 0, 131072}

Definition at line 52 of file _GTestCbmTrdDetectorId_simple3.cxx.

◆ val7

InOutStructure val7 = {0, 0, 0, 0, 0, 1, 33554432}

Definition at line 53 of file _GTestCbmTrdDetectorId_simple3.cxx.

◆ val8

InOutStructure val8 = {kTRD, 1, 1, 1, 1, 1, 33690149}

Definition at line 54 of file _GTestCbmTrdDetectorId_simple3.cxx.

◆ val9

InOutStructure val9 = {kTRD, 3, 3, 2, 34, 3, 105129573}

Definition at line 55 of file _GTestCbmTrdDetectorId_simple3.cxx.