Ad
  • Default User Avatar

    Thanks for this kata, this is my favourite so far.

  • Default User Avatar

    I think the rangom tests violate the given assumptions: 'there will always be a rank 1 in the given input ranks are of type string
    rank numbers are incremented, and not skippped (1.1 could be followed by 1.2, not 1.3)'
    Random test:
    ['2', '2.1', '2.1.1.1', '2.1.1.1.2', '2.1.1.2', '3', '4']
    ^ no ^ skipping 2.1.1 here
    rank 1 here