test for the copy()-method
(self)
| 87 | y = Vector([1,0,1]) |
| 88 | self.assertEqual(str(axpy(2,x,y)),"(3,4,7)") |
| 89 | def test_copy(self): |
| 90 | """ |
| 91 | test for the copy()-method |
| 92 | """ |
| 93 | x = Vector([1,0,0,0,0,0]) |
| 94 | y = x.copy() |
| 95 | self.assertEqual(str(x),str(y)) |
| 96 | def test_changeComponent(self): |
| 97 | """ |
| 98 | test for the changeComponent(...)-method |