test for Matrix method determinant()
(self)
| 153 | assert cofactors[x][y] == a.cofactor(x, y) |
| 154 | |
| 155 | def test_determinant(self) -> None: |
| 156 | """ |
| 157 | test for Matrix method determinant() |
| 158 | """ |
| 159 | a = Matrix([[1, 2, 3], [2, 4, 5], [6, 7, 8]], 3, 3) |
| 160 | assert a.determinant() == -5 |
| 161 | |
| 162 | def test__mul__matrix(self) -> None: |
| 163 | """ |
nothing calls this directly
no test coverage detected