testlapack: make tests independent

This commit is contained in:
kortschak
2016-02-15 14:23:02 +10:30
parent 1d7a2a405a
commit 3d87f56b23
52 changed files with 158 additions and 106 deletions

View File

@@ -16,10 +16,11 @@ type Dlasv2er interface {
}
func Dlasv2Test(t *testing.T, impl Dlasv2er) {
rnd := rand.New(rand.NewSource(1))
for i := 0; i < 100; i++ {
f := rand.NormFloat64()
g := rand.NormFloat64()
h := rand.NormFloat64()
f := rnd.NormFloat64()
g := rnd.NormFloat64()
h := rnd.NormFloat64()
ssmin, ssmax, snr, csr, snl, csl := impl.Dlasv2(f, g, h)