fixed deprecated rand usage

This commit is contained in:
Tessa Nordgren 2024-10-01 15:49:10 +01:00
parent 8e9334fe3c
commit 2056d31911

View File

@ -5,16 +5,10 @@ import (
"runtime"
"sync"
"testing"
"time"
)
var wg sync.WaitGroup
func init() {
// Use different values every test to try and catch edge cases.
rand.Seed(time.Now().Unix())
}
func TestInit(t *testing.T) {
// test all available dimensional combinations
for n := 1; n <= MaxN; n++ {