test for the eulidean length
(self)
| 43 | self.assertEqual(x.size(), 4) |
| 44 | |
| 45 | def test_euclidLength(self): |
| 46 | """ |
| 47 | test for the eulidean length |
| 48 | """ |
| 49 | x = Vector([1, 2]) |
| 50 | self.assertAlmostEqual(x.eulidLength(), 2.236, 3) |
| 51 | |
| 52 | def test_add(self): |
| 53 | """ |
nothing calls this directly
no test coverage detected