(t *testing.T)
| 50 | } |
| 51 | |
| 52 | func TestTrace(t *testing.T) { |
| 53 | a := []float64{1, 2, 3, 4} |
| 54 | A := MakeMatrix(a, 2, 2) |
| 55 | |
| 56 | if A.trace() != 5 { |
| 57 | t.Error() |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | func TestAdd(t *testing.T) { |
| 62 | a := []float64{1, 1, 1, 1} |
nothing calls this directly
no test coverage detected