Sha256: faa01f619260bbb85fb474fd9bc77f4fe53e7f533656539cf3ae8f4ed6d63d40
Contents?: true
Size: 426 Bytes
Versions: 3
Compression:
Stored size: 426 Bytes
Contents
def check_both_teams_are_equal(number_of_players, points) ['A', 'B'].each do |team| pattern = "Team #{team} has #{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 (A|B) has #{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