test for the global function axpy(...) (operation)
(self)
| 80 | """ |
| 81 | self.assertEqual(str(unitBasisVector(3,1)),"(0,1,0)") |
| 82 | def test_axpy(self): |
| 83 | """ |
| 84 | test for the global function axpy(...) (operation) |
| 85 | """ |
| 86 | x = Vector([1,2,3]) |
| 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 |