Add consideration of playoff tiebreakers.

This commit is contained in:
Patrick Fairbank
2022-08-21 14:42:47 -07:00
parent 0fdfc78a7b
commit 20cb056243
21 changed files with 201 additions and 155 deletions

View File

@@ -42,7 +42,7 @@ func TestPublishMatches(t *testing.T) {
database := setupTestDb(t)
match1 := model.Match{Type: "qualification", DisplayName: "2", Time: time.Unix(600, 0), Red1: 7, Red2: 8, Red3: 9,
Blue1: 10, Blue2: 11, Blue3: 12, Status: model.RedWonMatch}
Blue1: 10, Blue2: 11, Blue3: 12, Status: game.RedWonMatch}
match2 := model.Match{Type: "elimination", DisplayName: "SF2-2", ElimRound: 2, ElimGroup: 2, ElimInstance: 2}
database.CreateMatch(&match1)
database.CreateMatch(&match2)