Sha256: a351b390799dd26061c1a28ff2e161fbd15fef1bf8b7ceb7346c46e5c9cb8bb7
Contents?: true
Size: 442 Bytes
Versions: 3
Compression:
Stored size: 442 Bytes
Contents
def check_both_teams_are_equal(number_of_players, points) ['Bibs', 'Colours'].each do |team| pattern = "Team #{team} have #{number_of_players} player[s]? and #{points} points" assert_matching_output(pattern, all_output) end end def check_team_has_the_following(number_of_players, points) pattern = "Team (Bibs|Colours) have #{number_of_players} player[s]? and #{points} points" assert_matching_output(pattern, all_output) end
Version data entries
3 entries across 3 versions & 1 rubygems