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

Function test_2

code/graph/scc.test.cpp:22–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void test_2() {
23 vvi adj(2);
24
25 adj[0].push_back(1);
26
27 pair<union_find, vi> res = scc(adj);
28 union_find scc = res.first;
29
30 assert_not_equal(scc.find(0), scc.find(1));
31}
32
33void test_3() {
34 vvi adj(5);

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