Skip to content

Instantly share code, notes, and snippets.

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

  • Save mcsee/19484689dbdde9363751011f39110320 to your computer and use it in GitHub Desktop.

Select an option

Save mcsee/19484689dbdde9363751011f39110320 to your computer and use it in GitHub Desktop.
Loop Iteration 1 - Test: win gives 3 points (FIFA World Cup 2026 Group E Simulator)
def test_win_gives_three_points():
germany = Team("Germany 🇩🇪")
curacao = Team("Curaçao 🇨🇼")
match = Match(germany, curacao, home_goals=7, away_goals=1)
standings = GroupStandings()
standings.record(match)
assert standings.points_for(germany) == 3
assert standings.points_for(curacao) == 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment