MCPcopy Create free account
hub / github.com/LFYSec/MScan / testSCC

Method testSCC

src/test/java/pascal/taie/util/graph/GraphTest.java:107–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 }
106
107 @Test
108 void testSCC() {
109 Graph<Integer> g = readGraph("src/test/resources/util/graph-scc.txt");
110 SCC<Integer> scc = new SCC<>(g);
111 assertEquals(7, scc.getComponents().size());
112 assertEquals(3, scc.getTrueComponents().size());
113 }
114
115 @Test
116 void testMergedSCC() {

Callers

nothing calls this directly

Calls 4

readGraphMethod · 0.95
getComponentsMethod · 0.95
getTrueComponentsMethod · 0.95
sizeMethod · 0.65

Tested by

no test coverage detected