General Purpose library for Freestanding C++ and POSIX systems
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

21 satır
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. };