9#include <tracking/trackFindingCDC/utilities/Ptr.h>
11#include <gtest/gtest.h>
14using namespace TrackFindingCDC;
17 TEST(TrackFindingCDCTest, utilities_Ptr_construct)
20 Ptr<int> ptrIFromPointer {&i};
21 EXPECT_EQ(4, *ptrIFromPointer);
24 TEST(TrackFindingCDCTest, utilities_Ptr_const_conversion)
28 Ptr<const int> ptrConstI = Ptr<const int>(ptrI);
29 EXPECT_EQ(4, *ptrConstI);
Abstract base class for different kinds of events.