| 9 | using namespace std; |
| 10 | |
| 11 | TEST(DotIOTest, read_dot) |
| 12 | { |
| 13 | string undirectedGraph = |
| 14 | "graph {\n" |
| 15 | " \"a\";\n" |
| 16 | " \"b\";\n" |
| 17 | " \"a\" -- \"b\";\n" |
| 18 | "}\n"; |
| 19 | |
| 20 | stringstream ss; |
| 21 | ss << undirectedGraph; |
| 22 | ASSERT_TRUE(ss.good()); |
| 23 | |
| 24 | UndirectedGraph<NoProperty, NoProperty> g; |
| 25 | read_dot(ss, g, DisallowParallelEdges()); |
| 26 | ASSERT_TRUE(!ss.fail()); |
| 27 | } |
nothing calls this directly
no test coverage detected