63TEST(CbmDetectorList, outOfBounds)
65 CbmDetectorList fList;
68 fList.GetSystemName(111, retName);
69 EXPECT_EQ(
"unknown", retName);
71 fList.GetSystemName(-111, retName);
72 EXPECT_EQ(
"unknown", retName);
74 fList.GetSystemNameCaps(111, retName);
75 EXPECT_EQ(
"unknown", retName);
77 fList.GetSystemNameCaps(-111, retName);
78 EXPECT_EQ(
"UNKNOWN", retName);
84 fList.GetSystemName(detIdFromEnum, retName);
85 EXPECT_EQ(detName, retName);
87 fList.GetSystemName(detId, retName);
88 EXPECT_EQ(detName, retName);
90 fList.GetSystemNameCaps(detIdFromEnum, retName);
91 EXPECT_EQ(detNameUppercase, retName);
93 fList.GetSystemNameCaps(detId, retName);
94 EXPECT_EQ(detNameUppercase, retName);
INSTANTIATE_TEST_CASE_P(TestAllParameters, CbmDetectorListParamTest, ::testing::Values(val1, val2, val3, val4, val5, val6, val7, val8, val9, val10, val11, val12))