3 #include "gtest/gtest-spi.h"
4 #include "gtest/gtest.h"
8 TEST(_GTestCbmPsdHit, CheckDefaultConstructor) {
19 TEST(_GTestCbmPsdHit, CheckStandardConstructor) {
30 TEST(_GTestCbmPsdHit, CheckCopyConstructor) {
47 TEST(_GTestCbmPsdHit, CheckAssignmentOperator) {
65 TEST(_GTestCbmPsdHit, CheckMoveConstructor) {
83 TEST(_GTestCbmPsdHit, CheckAssignmentMoveConstructor) {
93 test2 = std::move(test);
103 TEST(_GTestCbmPsdHit, CheckPrint) {
109 testing::internal::CaptureStdout();
111 std::string output = testing::internal::GetCapturedStdout();
113 EXPECT_STREQ(
"[INFO] module : 5 ELoss 6.7\n", output.c_str());