(t *testing.T)
| 39 | } |
| 40 | |
| 41 | func TestSetElm(t *testing.T) { |
| 42 | a := []float64{1, 2, 3, 4, 5, 6} |
| 43 | A := MakeMatrix(a, 3, 2) |
| 44 | |
| 45 | A.SetElm(0, 0, 10) |
| 46 | |
| 47 | if A.GetElm(0, 0) != 10 { |
| 48 | t.Error() |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | func TestTrace(t *testing.T) { |
| 53 | a := []float64{1, 2, 3, 4} |
nothing calls this directly
no test coverage detected