/** * When the test is declared it adds itself to the list */ TestCase::TestCase(std::string n, int (*f)()) { name = n; run = f; t.register_test(this); }
/** * When the test is declared it adds itself to the list */ TestCase::TestCase(std::string n, int (*f)()) { name = n; run = f; t.register_test(this); }