rank: add test with golden values...
rank: add test with golden values
This adds a regression test for the computation of the rank, using the current
values computed with the naive algorithm as the "golden" reference.
Differential Revision:
https://phab.mercurial-scm.org/D12142