gonum.org/v1/gonum@v0.14.0/blas/gonum/level1float64_test.go (about) 1 // Copyright ©2014 The Gonum Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package gonum 6 7 import ( 8 "testing" 9 10 "gonum.org/v1/gonum/blas/testblas" 11 ) 12 13 var impl Implementation 14 15 func TestDasum(t *testing.T) { 16 testblas.DasumTest(t, impl) 17 } 18 19 func TestDaxpy(t *testing.T) { 20 testblas.DaxpyTest(t, impl) 21 } 22 23 func TestDdot(t *testing.T) { 24 testblas.DdotTest(t, impl) 25 } 26 27 func TestDnrm2(t *testing.T) { 28 testblas.Dnrm2Test(t, impl) 29 } 30 31 func TestIdamax(t *testing.T) { 32 testblas.IdamaxTest(t, impl) 33 } 34 35 func TestDswap(t *testing.T) { 36 testblas.DswapTest(t, impl) 37 } 38 39 func TestDcopy(t *testing.T) { 40 testblas.DcopyTest(t, impl) 41 } 42 43 func TestDrotg(t *testing.T) { 44 testblas.DrotgTest(t, impl, false) 45 } 46 47 func TestDrotmg(t *testing.T) { 48 testblas.DrotmgTest(t, impl) 49 } 50 51 func TestDrot(t *testing.T) { 52 testblas.DrotTest(t, impl) 53 } 54 55 func TestDrotm(t *testing.T) { 56 testblas.DrotmTest(t, impl) 57 } 58 59 func TestDscal(t *testing.T) { 60 testblas.DscalTest(t, impl) 61 }