| 90 | } |
| 91 | |
| 92 | void 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 | |
| 107 | void test_7() { |
| 108 | vvi adj(2); |
no test coverage detected