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

Function test

code/graph/idastar.test.cpp:1–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1void test() {
2 // Field testing: UVa 10181, UVa 11163
3
4 n = 15;
5 int tc[15] = {
6 1, 3, 6, 9, 2, 14, 4, 13, 7, 11, 0, 12, 8, 5, 10
7 };
8 rep(i,0,n) cur[i] = tc[i];
9 assert(idastar() == 52);
10}
11// vim: cc=60 ts=2 sts=2 sw=2:

Callers

nothing calls this directly

Calls 1

idastarFunction · 0.85

Tested by

no test coverage detected