CbmRoot
_GTestCbmTrdDetectorId_simple.cxx
Go to the documentation of this file.
1
#include "CbmDetectorList.h"
2
#include "CbmTrdDetectorId.h"
3
4
#include "gtest/gtest-spi.h"
5
#include "gtest/gtest.h"
6
7
TEST
(
CbmTrdDetectorIdTest
, CheckDefaultSettings) {
8
CbmTrdDetectorId fTrdId;
9
10
Int_t system = 0;
11
Int_t station = 0;
12
Int_t layer = 0;
13
Int_t moduleType = 0;
14
Int_t moduleNr = 0;
15
Int_t sector = 0;
16
Int_t detInfo_array[6] = {
17
system, station, layer, moduleType, moduleNr, sector};
18
19
Int_t retVal = fTrdId.SetDetectorInfo(detInfo_array);
20
EXPECT_EQ(0, retVal);
21
}
CbmTrdDetectorIdTest
Definition:
_GTestCbmTrdDetectorId_simple2.cxx:7
TEST
TEST(CbmTrdDetectorIdTest, CheckDefaultSettings)
Definition:
_GTestCbmTrdDetectorId_simple.cxx:7
core
data
test
trd
_GTestCbmTrdDetectorId_simple.cxx
Generated on Wed Oct 28 2020 15:11:33 for CbmRoot by
1.8.18