MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / test_6

Function test_6

code/graph/scc.test.cpp:92–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void test_6() {
93 vvi adj(2);
94
95 for (int i = 0; i < 100; i++)
96 {
97 adj[0].push_back(0);
98 adj[1].push_back(1);
99 }
100
101 pair<union_find, vi> res = scc(adj);
102 union_find scc = res.first;
103
104 assert_not_equal(scc.find(0), scc.find(1));
105}
106
107void test_7() {
108 vvi adj(2);

Callers 1

testFunction · 0.85

Calls 4

sccFunction · 0.85
assert_not_equalFunction · 0.85
push_backMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected