MCPcopy Create free account
hub / github.com/BirolLab/abyss / TEST

Function TEST

Unittest/Graph/DotIOTest.cpp:11–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9using namespace std;
10
11TEST(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}

Callers

nothing calls this directly

Calls 3

goodMethod · 0.80
failMethod · 0.80

Tested by

no test coverage detected