#pragma once #include class unit_test : public CppUnit::TestFixture { public: virtual void prepare() {} virtual void finish() {} void set_up() { this->prepare(); } void tear_down() { this->finish(); } };