5 #include "gtest/gtest-spi.h"
6 #include "gtest/gtest.h"
32 if (
this != &other) { CbmDigi::operator=(other); }
39 CbmDigi::operator=(std::forward<CbmTestDigi>(other));
53 Double_t
GetTime()
const {
return CbmDigi::GetTime(); }
60 TEST(_GTestCbmDigi, CheckDefaultConstructor) {
71 TEST(_GTestCbmDigi, CheckCopyConstructor) {
87 TEST(_GTestCbmDigi, CheckAssignmentOperator) {
115 TEST(_GTestCbmDigi, CheckMoveConstructor) {
133 TEST(_GTestCbmDigi, CheckAssignmentMoveConstructor) {
145 test2 = std::move(test);
153 TEST(_GTestCbmDigi, CheckToString) {
158 EXPECT_STREQ(
"Digi: System -111 | address -111 | time -111 | charge 0",