Our tests inherit from the base class test. We should define the destructor of the test class as virtual. The current implementation is not safe and may result in memory leaks and undefined behaviors. We should make sure each base class has a virtual destructor.
The current code generates a warning on MacOS:
The keywords override final are missing in example_test.cxx.
Definition of done:
Address the issues described above, check all CPP tests are OK.