(self)
| 127 | self.assertEqual("|2,4,6|\n|8,10,12|\n|14,16,18|\n", (A * 2).__str__()) |
| 128 | |
| 129 | def test_changeComponent_matrix(self): |
| 130 | A = Matrix([[1, 2, 3], [2, 4, 5], [6, 7, 8]], 3, 3) |
| 131 | A.changeComponent(0, 2, 5) |
| 132 | self.assertEqual("|1,2,5|\n|2,4,5|\n|6,7,8|\n", A.__str__()) |
| 133 | |
| 134 | def test_component_matrix(self): |
| 135 | A = Matrix([[1, 2, 3], [2, 4, 5], [6, 7, 8]], 3, 3) |
nothing calls this directly
no test coverage detected