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

Function test

code/other/floyds_algorithm.test.cpp:8–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6}
7
8void test() {
9 for (int i = 0; i < 20; i++) {
10 for (m = 1; m < 20; m++) {
11 ii res = find_cycle(-i, f1);
12 assert_equal(res.first, i);
13 assert_equal(res.second, m);
14 }
15 }
16}
17// vim: cc=60 ts=2 sts=2 sw=2:

Callers

nothing calls this directly

Calls 2

find_cycleFunction · 0.85
assert_equalFunction · 0.50

Tested by

no test coverage detected