24TEST(_GTestCbmMuchBeamTimeDigi, CheckStandardConstructor)
29 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
33 compareMuchBeamTimeDigiDataMembers(*test1, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
36TEST(_GTestCbmMuchBeamTimeDigi, CheckCopyConstructor)
41 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
49 compareMuchBeamTimeDigiDataMembers(test2, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
52 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
55TEST(_GTestCbmMuchBeamTimeDigi, CheckAssignmentOperator)
61 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
69 compareMuchBeamTimeDigiDataMembers(test2, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
73 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
76TEST(_GTestCbmMuchBeamTimeDigi, CheckMoveConstructor)
81 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
86 compareMuchBeamTimeDigiDataMembers(test2, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
88 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
91TEST(_GTestCbmMuchBeamTimeDigi, CheckAssignmentMoveConstructor)
96 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
99 test2 = std::move(test);
101 compareMuchBeamTimeDigiDataMembers(test2, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
104 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
129TEST(_GTestCbmMuchDigi, CheckSetPadX)
134 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
138 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, 12, -1, -1, -1, -1, -1);
142TEST(_GTestCbmMuchDigi, CheckSetPadY)
147 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
151 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, 13, -1, -1, -1, -1);
155TEST(_GTestCbmMuchDigi, CheckSetRocId)
160 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
164 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, 14, -1, -1, -1);
167TEST(_GTestCbmMuchDigi, CheckSetNxId)
172 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
176 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, 15, -1, -1);
179TEST(_GTestCbmMuchDigi, CheckSetNxCh)
184 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
188 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, 16, -1);
191TEST(_GTestCbmMuchDigi, CheckSetElink)
196 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, -1);
200 compareMuchBeamTimeDigiDataMembers(test, 111,
ECbmModuleId::kMuch, 987654321, 23, -1, -1, -1, -1, -1, 17);
void compareMuchBeamTimeDigiDataMembers(CbmMuchBeamTimeDigi &test, int32_t address, ECbmModuleId systemid, uint64_t time, int32_t charge, int32_t padx, int32_t pady, int32_t rocid, int32_t nxid, int32_t nxch, int32_t elink)