8#include "gtest/gtest-spi.h"
9#include "gtest/gtest.h"
11TEST(_GTestCbmPsdDigi, CheckDefaultConstructor)
23TEST(_GTestCbmPsdDigi, CheckStandardConstructor)
35TEST(_GTestCbmPsdDigi, CheckConstructorWithDetailedAssignment)
47TEST(_GTestCbmPsdDigi, CheckCopyConstructor)
65TEST(_GTestCbmPsdDigi, CheckAssignmentOperator)
85TEST(_GTestCbmPsdDigi, CheckMoveConstructor)
102TEST(_GTestCbmPsdDigi, CheckAssignmentMoveConstructor)
111 test2 = std::move(test);
122TEST(_GTestCbmPsdDigi, CheckToString)
129 EXPECT_STREQ(
"CbmPsdDigi: address = 0x00BC4FF2 Charge = 987654321.000000 "
134TEST(_GTestCbmPsdDigi, CheckGetClassName)
144TEST(_GTestCbmPsdDigi, CheckSetTime)
156TEST(_GTestCbmPsdDigi, CheckSetAddress)
168TEST(_GTestCbmPsdDigi, CheckSetAddressWithModuleAndSection)
180TEST(_GTestCbmPsdDigi, CheckSetEdep)
@ kPsd
Projectile spectator detector.
TEST(_GTestCbmPsdDigi, CheckDefaultConstructor)
Data class for PSD digital information.
static const char * GetClassName()
Class name (static)
std::string ToString() const
String output.
void SetEdep(double edep)
void SetTime(double time)
void SetAddress(uint32_t address)
void comparePsdDigiDataMembers(CbmPsdDigi &test, int32_t address, ECbmModuleId systemid, double time, double edep)