Skip to content

Instantly share code, notes, and snippets.

@mcsee
Created June 26, 2026 02:12
Show Gist options
  • Select an option

  • Save mcsee/327d5a89cec640e626323e89f4dea96e to your computer and use it in GitHub Desktop.

Select an option

Save mcsee/327d5a89cec640e626323e89f4dea96e to your computer and use it in GitHub Desktop.
Loop Iteration 3 - Test: draw gives 1 point each
def test_draw_gives_one_point_each():
ecuador = Team("Ecuador 🇪🇨")
curacao = Team("Curaçao 🇨🇼")
match = Match(ecuador, curacao, home_goals=0, away_goals=0)
standings = GroupStandings()
standings.record(match)
assert standings.points_for(ecuador) == 1
assert standings.points_for(curacao) == 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment