-
-
Save walf443/2006816 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./test_rankd [ ~/project/cpp/rankd git[master] ] | |
# Testing: top_same_value | |
ok 1 - top ok | |
ok 2 - get_rank ok | |
ok 3 - top ok | |
# Testing: top_test2 | |
ok 4 - 82 should be rank 0 | |
# top 82 | |
ok 5 - top ok | |
ok 6 - 82 should be rank 1 | |
ok 7 - rank 1 should be 82 | |
# top 1 | |
ok 8 - top ok | |
ok 9 - 1 should be rank 1 | |
ok 10 - 82 should be rank 2 | |
ok 11 - rank 1 should be 1 | |
ok 12 - rank 2 should be 82 | |
# top 82 again | |
ok 13 - top ok | |
ok 14 - 82 should be rank 1 | |
ok 15 - 1 should be rank 2 | |
ok 16 - rank 1 should be 82 | |
ok 17 - rank 2 should be 1 | |
# top 2 | |
ok 18 - top ok | |
ok 19 - 2 should be rank 1 | |
ok 20 - 82 should be rank 2 | |
ok 21 - 1 should be rank 3 | |
ok 22 - rank 1 should be 2 | |
ok 23 - rank 2 should be 82 | |
ok 24 - rank 3 should be 1 | |
# top 3 | |
ok 25 - top ok | |
ok 26 - 3 should be rank 1 | |
ok 27 - 2 should be rank 2 | |
not ok 28 - 82 should be rank 3 | |
# got : 1 | |
# expected : 3 | |
ok 29 - 1 should be rank 4 | |
ok 30 - rank 1 should be 3 | |
ok 31 - rank 2 should be 2 | |
not ok 32 - rank 3 should be 82 | |
not ok 32 - rank 3 should be 82 | |
# got : 1 | |
# expected : 82 | |
ok 33 - rank 4 should be 1 | |
# top 4 | |
ok 34 - top ok | |
ok 35 - 4 should be rank 1 | |
ok 36 - 3 should be rank 2 | |
not ok 37 - 2 should be rank 3 | |
# got : 1 | |
# expected : 3 | |
not ok 38 - 82 should be rank 4 | |
# got : 0 | |
# expected : 4 | |
ok 39 - 1 should be rank 5 | |
ok 40 - rank 1 should be 4 | |
ok 41 - rank 2 should be 3 | |
not ok 42 - rank 3 should be 2 | |
# got : 82 | |
# expected : 2 | |
not ok 43 - rank 4 should be 82 | |
# got : 1 | |
# expected : 82 | |
ok 44 - rank 5 should be 1 | |
1..44 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment