Compare commits
No commits in common. "main" and "v0.1.0" have entirely different histories.
1 changed files with 6 additions and 0 deletions
|
@ -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++ {
|
||||||
|
|
Loading…
Add table
Reference in a new issue