(t *testing.T)
| 16 | } |
| 17 | |
| 18 | func TestCount(t *testing.T) { |
| 19 | a := []float64{1, 2, 3, 4, 5, 6} |
| 20 | A := MakeMatrix(a, 3, 2) |
| 21 | |
| 22 | if A.CountRows() != 3 { |
| 23 | t.Error() |
| 24 | } |
| 25 | if A.CountCols() != 2 { |
| 26 | t.Error() |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | func TestGetElm(t *testing.T) { |
| 31 | a := []float64{1, 2, 3, 4, 5, 6} |
nothing calls this directly
no test coverage detected