24TEST(_GTestCbmCluster, CheckStandardConstructor)
26 std::vector<int32_t> testvector {1, 2, 3, 4, 5};
29 SCOPED_TRACE(
"CheckStandardConstructor");
34TEST(_GTestCbmCluster, CheckSetDigis)
36 std::vector<int32_t> testvector {1, 2, 3, 4, 5};
39 SCOPED_TRACE(
"CheckSetDigis: InitialTest");
43 std::vector<int32_t> testvector1 {11, 21, 31, 41, 51, 61};
46 SCOPED_TRACE(
"CheckSetDigis: SetDigis");
51TEST(_GTestCbmCluster, CheckAddDigi)
53 std::vector<int32_t> testvector {1, 2, 3, 4, 5};
54 std::vector<int32_t> testvector1 {1, 2, 3, 4, 5, 111};
55 std::vector<int32_t> testvector2 {1, 2, 3, 4, 5, 111, 222};
59 SCOPED_TRACE(
"CheckAddDigi: InitialTest");
65 SCOPED_TRACE(
"CheckAddDigis: AddDigi 1");
71 SCOPED_TRACE(
"CheckAddDigis: AddDigi 2");
76TEST(_GTestCbmCluster, CheckAddDigis)
78 std::vector<int32_t> testvector {1, 2, 3, 4, 5};
79 std::vector<int32_t> testvector1 {11, 21, 31, 41, 51, 61};
80 std::vector<int32_t> testvector2 {1, 2, 3, 4, 5, 11, 21, 31, 41, 51, 61};
84 SCOPED_TRACE(
"CheckAddDigis: InitialTest");
90 SCOPED_TRACE(
"CheckAddDigis: AddDigis");
95TEST(_GTestCbmCluster, CheckClearDigis)
97 std::vector<int32_t> testvector {1, 2, 3, 4, 5};
98 std::vector<int32_t> testvector1;
102 SCOPED_TRACE(
"CheckClearDigis: InitialTest");
108 SCOPED_TRACE(
"CheckClearDigis: AddDigis");
113TEST(_GTestCbmCluster, CheckSetters)
115 std::vector<int32_t> testvector {1, 2, 3, 4, 5};
119 SCOPED_TRACE(
"CheckSetters: InitialTest");
125 SCOPED_TRACE(
"CheckSetters: SetAddress");
130 test.SetMatch(&testMatch);
132 SCOPED_TRACE(
"CheckSetters: SetAddress");
137TEST(_GTestCbmCluster, CheckToString)
139 std::vector<int32_t> testvector {1, 2, 3, 4, 5};
142 EXPECT_STREQ(
"CbmCluster: nofDigis=5 | 1 2 3 4 5 | address=-11\n", test.ToString().c_str());