8#include "gtest/gtest-spi.h"
9#include "gtest/gtest.h"
11TEST(_GTestCbmMuchDigi, CheckDefaultConstructor)
24TEST(_GTestCbmMuchDigi, CheckStandardConstructor)
36TEST(_GTestCbmMuchDigi, CheckCopyConstructor)
55TEST(_GTestCbmMuchDigi, CheckAssignmentOperator)
75TEST(_GTestCbmMuchDigi, CheckMoveConstructor)
90TEST(_GTestCbmMuchDigi, CheckAssignmentMoveConstructor)
99 test2 = std::move(test);
109TEST(_GTestCbmMuchDigi, CheckToString)
116 EXPECT_STREQ(
"", test.
ToString().c_str());
119TEST(_GTestCbmMuchDigi, CheckGetClassName)
129TEST(_GTestCbmMuchDigi, CheckSetTime)
141TEST(_GTestCbmMuchDigi, CheckSetAddress)
153TEST(_GTestCbmMuchDigi, CheckSetAdc)
165TEST(_GTestCbmMuchDigi, CheckGetChannelId)
175TEST(_GTestCbmMuchDigi, CheckGetAdcCharge)
185TEST(_GTestCbmMuchDigi, CheckGetDTime)
@ kMuch
Muon detection system.
TEST(_GTestCbmMuchDigi, CheckDefaultConstructor)
void SetAddress(int32_t address)
void SetTime(uint64_t time)
int32_t GetADCCharge() const
std::string ToString() const
static const char * GetClassName()
Class name (static)
int32_t GetChannelId() const
void compareMuchDigiDataMembers(CbmMuchDigi &test, int32_t address, ECbmModuleId systemid, uint64_t time, int32_t charge)