| 48 | "#endif // AUTOFUZZ_H\n"; |
| 49 | |
| 50 | std::shared_ptr<Fuzzer> createFuzzer(const GenLoader &Loader) { |
| 51 | const auto &Unittests = Loader.getInputReport().getUnittests(); |
| 52 | if (Unittests.size() != 1) |
| 53 | return nullptr; |
| 54 | return Fuzzer::create(Unittests[0], Loader.getInputReport()); |
| 55 | } |
| 56 | |
| 57 | bool checkNew(std::map<std::string, std::string> Expect, |
| 58 | const std::map<std::string, std::string> &Result) { |