General Purpose library for Freestanding C++ and POSIX systems
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
314 B

#pragma once
#include <string>
#include <vector>
#include <memory>
struct test_scaffold{
std::string name;
virtual int run() = 0;
virtual ~test_scaffold() = default;
};
std::vector<std::unique_ptr<test_scaffold>> tests;
struct append_test {
append_test(test_scaffold* ptr) {
tests.emplace_back(ptr);
}
};