test for the copy()-method
(self)
| 100 | self.assertEqual(axpy(2, x, y).__str__(), "(3,4,7)") |
| 101 | |
| 102 | def test_copy(self): |
| 103 | """ |
| 104 | test for the copy()-method |
| 105 | """ |
| 106 | x = Vector([1, 0, 0, 0, 0, 0]) |
| 107 | y = x.copy() |
| 108 | self.assertEqual(x.__str__(), y.__str__()) |
| 109 | |
| 110 | def test_changeComponent(self): |
| 111 | """ |