tests/test-rank.t
author Raphaël Gomès <rgomes@octobus.net>
Mon, 08 Jul 2024 17:51:56 +0200
branchstable
changeset 51664 b65ca8a0f674
parent 48764 f7d7facd7b9f
permissions -rw-r--r--
Added tag 6.8 for changeset 11f41248595b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
48763
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
     1
=============================================================
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
     2
Check that we can compute and exchange revision rank properly
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
     3
=============================================================
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
     4
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
     5
  $ cat << EOF >> $HGRCPATH
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
     6
  > [format]
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
     7
  > exp-use-changelog-v2=enable-unstable-format-and-corrupt-my-data
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
     8
  > EOF
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
     9
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    10
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    11
Test minimal rank computation with merge
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    12
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    13
  $ hg init rank-repo-minimal
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    14
  $ cd rank-repo-minimal
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    15
  $ touch 0
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    16
  $ hg commit -Aqm 0
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    17
  $ touch 1
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    18
  $ hg commit -Aqm 1
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    19
  $ hg update -qr 0
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    20
  $ touch 2
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    21
  $ hg commit -Aqm 2
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    22
  $ hg merge -qr 1
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    23
  $ hg commit -m 3
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    24
  $ touch 4
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    25
  $ hg commit -Aqm 4
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    26
  $ hg log --graph --template '{rev} {_fast_rank}\n'
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    27
  @  4 5
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    28
  |
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    29
  o    3 4
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    30
  |\
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    31
  | o  2 2
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    32
  | |
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    33
  o |  1 2
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    34
  |/
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    35
  o  0 1
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    36
  
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    37
  $ cd ..
3984e7d4b9fd rank: add minimal test
pacien <pacien.trangirard@pacien.net>
parents:
diff changeset
    38
48764
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    39
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    40
Build a bigger example repo
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    41
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    42
  $ hg init rank-repo-generated
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    43
  $ cd rank-repo-generated
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    44
  $ hg debugbuilddag '.:root1+5:mp1<root1+10:mp2/mp1+3<mp1+2:mp3/mp2$+15/mp1+4'
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    45
  $ hg log -G -T '{desc}'
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    46
  o  r42
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    47
  |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    48
  o  r41
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    49
  |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    50
  o  r40
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    51
  |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    52
  o  r39
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    53
  |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    54
  o    r38
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    55
  |\
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    56
  | o  r37
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    57
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    58
  | o  r36
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    59
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    60
  | o  r35
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    61
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    62
  | o  r34
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    63
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    64
  | o  r33
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    65
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    66
  | o  r32
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    67
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    68
  | o  r31
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    69
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    70
  | o  r30
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    71
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    72
  | o  r29
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    73
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    74
  | o  r28
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    75
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    76
  | o  r27
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    77
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    78
  | o  r26
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    79
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    80
  | o  r25
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    81
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    82
  | o  r24
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    83
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    84
  | o  r23
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    85
  |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    86
  | o    r22
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    87
  | |\
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    88
  | | o  r21
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    89
  | | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    90
  +---o  r20
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    91
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    92
  | | o  r19
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    93
  | | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    94
  | | o  r18
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    95
  | | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    96
  | | o  r17
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    97
  | | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    98
  +---o  r16
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
    99
  | |/
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   100
  | o  r15
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   101
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   102
  | o  r14
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   103
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   104
  | o  r13
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   105
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   106
  | o  r12
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   107
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   108
  | o  r11
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   109
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   110
  | o  r10
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   111
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   112
  | o  r9
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   113
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   114
  | o  r8
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   115
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   116
  | o  r7
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   117
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   118
  | o  r6
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   119
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   120
  o |  r5
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   121
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   122
  o |  r4
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   123
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   124
  o |  r3
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   125
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   126
  o |  r2
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   127
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   128
  o |  r1
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   129
  |/
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   130
  o  r0
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   131
  
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   132
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   133
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   134
Check the rank
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   135
--------------
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   136
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   137
  $ hg log -G -T '{_fast_rank}'
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   138
  o  26
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   139
  |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   140
  o  25
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   141
  |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   142
  o  24
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   143
  |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   144
  o  23
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   145
  |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   146
  o    22
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   147
  |\
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   148
  | o  15
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   149
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   150
  | o  14
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   151
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   152
  | o  13
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   153
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   154
  | o  12
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   155
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   156
  | o  11
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   157
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   158
  | o  10
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   159
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   160
  | o  9
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   161
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   162
  | o  8
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   163
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   164
  | o  7
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   165
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   166
  | o  6
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   167
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   168
  | o  5
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   169
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   170
  | o  4
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   171
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   172
  | o  3
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   173
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   174
  | o  2
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   175
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   176
  | o  1
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   177
  |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   178
  | o    19
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   179
  | |\
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   180
  | | o  8
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   181
  | | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   182
  +---o  7
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   183
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   184
  | | o  20
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   185
  | | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   186
  | | o  19
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   187
  | | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   188
  | | o  18
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   189
  | | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   190
  +---o  17
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   191
  | |/
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   192
  | o  11
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   193
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   194
  | o  10
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   195
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   196
  | o  9
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   197
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   198
  | o  8
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   199
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   200
  | o  7
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   201
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   202
  | o  6
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   203
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   204
  | o  5
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   205
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   206
  | o  4
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   207
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   208
  | o  3
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   209
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   210
  | o  2
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   211
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   212
  o |  6
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   213
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   214
  o |  5
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   215
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   216
  o |  4
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   217
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   218
  o |  3
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   219
  | |
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   220
  o |  2
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   221
  |/
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   222
  o  1
f7d7facd7b9f rank: add test with golden values
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 48763
diff changeset
   223