test for Matrix method str()
(self)
| 126 | assert str(x) == "(0,1,0)" |
| 127 | |
| 128 | def test_str_matrix(self) -> None: |
| 129 | """ |
| 130 | test for Matrix method str() |
| 131 | """ |
| 132 | a = Matrix([[1, 2, 3], [2, 4, 5], [6, 7, 8]], 3, 3) |
| 133 | assert str(a) == "|1,2,3|\n|2,4,5|\n|6,7,8|\n" |
| 134 | |
| 135 | def test_minor(self) -> None: |
| 136 | """ |