Compare commits

..

No commits in common. "main" and "v0.1.0" have entirely different histories.
main ... v0.1.0

View file

@ -5,10 +5,16 @@ import (
"runtime" "runtime"
"sync" "sync"
"testing" "testing"
"time"
) )
var wg sync.WaitGroup 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) { func TestInit(t *testing.T) {
// test all available dimensional combinations // test all available dimensional combinations
for n := 1; n <= MaxN; n++ { for n := 1; n <= MaxN; n++ {