test for the global function zeroVector(...)
(self)
| 70 | self.assertEqual(str(x*3.0),"(3.0,6.0,9.0)") |
| 71 | self.assertEqual((a*b),0) |
| 72 | def test_zeroVector(self): |
| 73 | """ |
| 74 | test for the global function zeroVector(...) |
| 75 | """ |
| 76 | self.assertTrue(str(zeroVector(10)).count("0") == 10) |
| 77 | def test_unitBasisVector(self): |
| 78 | """ |
| 79 | test for the global function unitBasisVector(...) |
nothing calls this directly
no test coverage detected