mat: remove TestTridiagNorm
Tridiag.Norm is now covered by TestNorm
MODIFY
mat/tridiag_test.go
mat/tridiag_test.go
@@ -6,7 +6,6 @@ package mat
import (
"fmt"
- "math"
"reflect"
"testing"
@@ -325,20 +324,6 @@ func TestTridiagZero(t *testing.T) {
}
}
-func TestTridiagNorm(t *testing.T) {
- t.Parallel()
- for _, n := range []int{1, 2, 3, 4, 7, 10} {
- for _, norm := range []float64{1, 2, math.Inf(1)} {
- a, ref := newTestTridiag(n)
- want := Norm(ref, norm)
- got := a.Norm(norm)
- if got != want {
- t.Errorf("Case n=%d,norm=%.0f: unexpected norm: got %f, want %f", n, norm, got, want)
- }
- }
- }
-}
-
func TestTridiagSolveTo(t *testing.T) {
t.Parallel()

mat: remove TestTridiagNorm

Tridiag.Norm is now covered by TestNorm