Update to Go 1.20 and fix rand-related issues.

This commit is contained in:
Patrick Fairbank
2023-02-05 13:01:17 -08:00
parent 5ee07ee33f
commit e8c7d1103b
4 changed files with 7 additions and 6 deletions

View File

@@ -7,10 +7,12 @@ import (
"github.com/Team254/cheesy-arena-lite/game"
"github.com/Team254/cheesy-arena-lite/model"
"github.com/stretchr/testify/assert"
"math/rand"
"testing"
)
func TestCalculateRankings(t *testing.T) {
rand.Seed(1)
database := setupTestDb(t)
setupMatchResultsForRankings(database)