class Parent
{
public:
int* x;
};
//is I am trying to make an object of type parent, it results: waiting for specifier after new *
class Child:public Parent
{
void Func()
{
<//DO SOMETHING>
}
};
//Unit test using mock
std::shared_pointer<Child> y =std::make_shared<Mock>();
//set_pointer(y);** //how this can be implemented
EXPECT_CALL(*(std::dynamic_pointer_cast<Mock>(y)).get(),Func()).Times(1);//this test is failed