mirror of
https://github.com/sinseman44/PyCNC.git
synced 2026-08-31 00:33:13 +00:00
refactoring
This commit is contained in:
@@ -131,6 +131,7 @@ class TestCoordinates(unittest.TestCase):
|
||||
|
||||
def test_abs(self):
|
||||
c = Coordinates(-1, -2.5, -99, -23)
|
||||
# noinspection PyTypeChecker
|
||||
r = abs(c)
|
||||
self.assertEqual(r.x, 1.0)
|
||||
self.assertEqual(r.y, 2.5)
|
||||
|
||||
Reference in New Issue
Block a user