MCPcopy Create free account
hub / github.com/BabitMF/bmf / GraphConfigSeeds

Function GraphConfigSeeds

bmf/engine/c_engine/test/test_graph.cpp:36–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35namespace {
36std::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

Callers 1

test_graph.cppFile · 0.85

Calls 1

strMethod · 0.80

Tested by

no test coverage detected