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.

21 lines
374 B

  1. #pragma once
  2. #include <string>
  3. #include <vector>
  4. #include <memory>
  5. #ifndef FUZZ_STRENGTH
  6. #define FUZZ_STRENGTH = 2048;
  7. #endif
  8. struct test_scaffold{
  9. std::string name;
  10. virtual int run() = 0;
  11. virtual ~test_scaffold() = default;
  12. };
  13. std::vector<std::unique_ptr<test_scaffold>> tests;
  14. struct append_test {
  15. append_test(test_scaffold* ptr) {
  16. tests.emplace_back(ptr);
  17. }
  18. };