MCPcopy Create free account
hub / github.com/Kitware/VTK / TestGraph2

Function TestGraph2

Common/DataModel/Testing/Cxx/TestGraph2.cxx:20–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18int TestToUndirectedGraph();
19
20int TestGraph2(int, char*[])
21{
22 std::vector<int> results;
23
24 results.push_back(TestGetEdgeId());
25 results.push_back(TestToDirectedGraph());
26 results.push_back(TestToUndirectedGraph());
27
28 for (unsigned int i = 0; i < results.size(); i++)
29 {
30 if (results[i] == EXIT_FAILURE)
31 {
32 return EXIT_FAILURE;
33 }
34 }
35
36 return EXIT_SUCCESS;
37}
38
39int TestGetEdgeId()
40{

Callers

nothing calls this directly

Calls 5

TestGetEdgeIdFunction · 0.85
TestToDirectedGraphFunction · 0.85
TestToUndirectedGraphFunction · 0.85
push_backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected