| 34 | |
| 35 | namespace { |
| 36 | std::vector<std::string> GraphConfigSeeds() { |
| 37 | static const std::vector<std::string> seed_files{ |
| 38 | "../../files/graph_start.json", |
| 39 | "../../files/graph_c.json", |
| 40 | "../../files/graph.json", |
| 41 | "../../files/graph_c.json", |
| 42 | "../../files/graph_passthru.json", |
| 43 | "../../files/filter_opt_c_graph.json", |
| 44 | "../../files/filter_opt_graph_c.json" |
| 45 | }; |
| 46 | std::vector<std::string> seeds{}; |
| 47 | for (const auto &seed_file : seed_files) { |
| 48 | std::ifstream file(seed_file); |
| 49 | std::stringstream ss; |
| 50 | ss << file.rdbuf(); |
| 51 | seeds.emplace_back(ss.str()); |
| 52 | } |
| 53 | return seeds; |
| 54 | } |
| 55 | } // namepsace |
| 56 | #endif // BMF_ENABLE_FUZZTEST |
| 57 | |