CbmRoot
Loading...
Searching...
No Matches
_GTestCbmTrdDetectorId_simple.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2012 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Florian Uhlig [committer] */
4
5
#include "CbmDetectorList.h"
6
#include "CbmTrdDetectorId.h"
7
8
#include "gtest/gtest-spi.h"
9
#include "gtest/gtest.h"
10
11
TEST
(
CbmTrdDetectorIdTest
, CheckDefaultSettings)
12
{
13
CbmTrdDetectorId fTrdId;
14
15
int32_t system = 0;
16
int32_t station = 0;
17
int32_t layer = 0;
18
int32_t moduleType = 0;
19
int32_t moduleNr = 0;
20
int32_t sector = 0;
21
int32_t detInfo_array[6] = {system, station, layer, moduleType, moduleNr, sector};
22
23
int32_t retVal = fTrdId.SetDetectorInfo(detInfo_array);
24
EXPECT_EQ(0, retVal);
25
}
TEST
TEST(CbmTrdDetectorIdTest, CheckDefaultSettings)
Definition
_GTestCbmTrdDetectorId_simple.cxx:11
CbmTrdDetectorIdTest
Definition
_GTestCbmTrdDetectorId_simple2.cxx:11
core
data
test
trd
_GTestCbmTrdDetectorId_simple.cxx
Generated on Sun Dec 22 2024 23:04:09 for CbmRoot by
1.12.0