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

Function test

code/tricks/snoob.test.cpp:1–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1void test() {
2 /* Field testing: UVa 729 */
3
4 assert_equal(66, snoob(65));
5 assert_equal(68, snoob(66));
6 assert_equal(72, snoob(68));
7 assert_equal(80, snoob(72));
8 assert_equal(96, snoob(80));
9 assert_equal(129, snoob(96));
10 assert_equal(13, snoob(11));
11 assert_equal(14, snoob(13));
12 assert_equal(19, snoob(14));
13 assert_equal(1535, snoob(1023));
14}
15// vim: cc=60 ts=2 sts=2 sw=2:

Callers

nothing calls this directly

Calls 2

snoobFunction · 0.85
assert_equalFunction · 0.50

Tested by

no test coverage detected