mat: make tests parallel

This commit is contained in:
Egon Elbre
2020-03-14 12:57:29 +02:00
parent e1429629f0
commit 190873a112
27 changed files with 233 additions and 69 deletions

View File

@@ -11,6 +11,7 @@ import (
)
func TestSolve(t *testing.T) {
t.Parallel()
// Hand-coded cases.
for _, test := range []struct {
a [][]float64
@@ -245,6 +246,7 @@ func TestSolve(t *testing.T) {
}
func TestSolveVec(t *testing.T) {
t.Parallel()
for _, test := range []struct {
m, n int
}{