mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-10 06:06:47 -04:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d7c3b9df6c | ||
|
|
8e46617706 |
@@ -90,8 +90,8 @@ var doubleEliminationBracketMatchupTemplates = []matchupTemplate{
|
||||
matchupKey: newMatchupKey(4, 1),
|
||||
displayName: "11",
|
||||
NumWinsToAdvance: 1,
|
||||
redAllianceSource: newWinnerAllianceSource(3, 1),
|
||||
blueAllianceSource: newWinnerAllianceSource(3, 2),
|
||||
redAllianceSource: newWinnerAllianceSource(3, 2),
|
||||
blueAllianceSource: newWinnerAllianceSource(3, 1),
|
||||
},
|
||||
{
|
||||
matchupKey: newMatchupKey(4, 2),
|
||||
|
||||
@@ -122,11 +122,11 @@ func TestDoubleEliminationProgression(t *testing.T) {
|
||||
matches, err = database.GetMatchesByType("elimination")
|
||||
assert.Nil(t, err)
|
||||
if assert.Equal(t, 12, len(matches)) {
|
||||
assertMatch(t, matches[10], "11", 8, 7)
|
||||
assertMatch(t, matches[10], "11", 7, 8)
|
||||
assertMatch(t, matches[11], "12", 4, 3)
|
||||
}
|
||||
|
||||
scoreMatch(database, "11", game.BlueWonMatch)
|
||||
scoreMatch(database, "11", game.RedWonMatch)
|
||||
assert.Nil(t, bracket.Update(database, &dummyStartTime))
|
||||
matches, err = database.GetMatchesByType("elimination")
|
||||
assert.Nil(t, err)
|
||||
|
||||
@@ -382,9 +382,8 @@
|
||||
<line class="loser" x1="1246.485" y1="746.485" x2="1229.515" y2="729.515"/>
|
||||
<text transform="translate(926.2617 775.3125)">W</text>
|
||||
<text transform="translate(926.2617 585.3125)">W</text>
|
||||
<polyline points="1008,725 984,725 954.488,593.142"/>
|
||||
<polyline class="coverup" points="1008,656 984,656 955.118,784.297"/>
|
||||
<polyline points="1008,655 984,655 955.118,783 898,783"/>
|
||||
<polyline points="955,593 955,655 1008,655"/>
|
||||
<polyline points="955,783 955,725 1008,725"/>
|
||||
</g>
|
||||
<g id="connectors_4_2"{{if (index .Matchups "4_2").IsActive}} class="active"{{end}}>
|
||||
<rect class="coverup" x="699.216" y="241.054" width="312.117" height="199.156"/>
|
||||
|
||||
Reference in New Issue
Block a user