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

Function test

code/geometry/convex_hull.test.cpp:29–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void test() {
30 /* Field testing: UVa 681 */
31
32 // polygon p;
33 // p.push_back(point(1,1));
34 // p.push_back(point(2,2));
35 // p.push_back(point(3,3));
36 // p.push_back(point(4,4));
37 // p.push_back(point(1,-1));
38 // p.push_back(point(2,-2));
39 // p.push_back(point(3,-3));
40 // p.push_back(point(4,-4));
41 //
42 // int cnt = convex_hull(p);
43 // rep(i,0,cnt) {
44 // cout << hull[i] << endl;
45 // }
46 //
47 // return;
48
49 rep(n,1,20) {
50 rep(k,1,100) {
51 rep(it,0,1000) check(n,k);
52 }
53 }
54}
55// vim: cc=60 ts=2 sts=2 sw=2:

Callers

nothing calls this directly

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected