Ad
  • Custom User Avatar

    Input range should be mentioned: this kata is very performance heavy. Even the random tests only goes up to 20 elements. This information will be important to solvers.

  • Custom User Avatar
    expected:<Game(leftTeam=[Party(partySize=2, sumRating=1500.0), Party(partySize=3, sumRating=1562.0)], rightTeam=[Party(partySize=4, sumRating=1482.0), Party(partySize=1, sumRating=1523.0)])>
    but was:<Game(leftTeam=[Party(partySize=3, sumRating=1562.0), Party(partySize=2, sumRating=1500.0)], rightTeam=[Party(partySize=1, sumRating=1523.0), Party(partySize=4, sumRating=1482.0)])>
    
    expected:<Game(leftTeam=[Party(partySize=4, sumRating=1482.0), Party(partySize=1, sumRating=1523.0)], rightTeam=[Party(partySize=2, sumRating=1500.0), Party(partySize=3, sumRating=1562.0)])>
    but was:<Game(leftTeam=[Party(partySize=2, sumRating=1500.0), Party(partySize=3, sumRating=1562.0)], rightTeam=[Party(partySize=4, sumRating=1482.0), Party(partySize=1, sumRating=1523.0)])>
    

    Kata testing is seriously flawed: the parties in a team must be at the exact order, and the left and right teams must not flip with each other. Do we even care about which team is left or right, or the order of teams in the list? Maybe some people do; but none of this is mentioned in the description.