mirror of
https://github.com/sinseman44/PyCNC.git
synced 2026-10-17 08:16:58 +00:00
refactor calibration process, some dummy commands support
This commit is contained in:
1 parent
b181fcc38c
commit
1c88c8ad41
6 files changed
+166
-84
No files matched your search
@@ -32,10 +32,10 @@ class TestGMachine(unittest.TestCase):
|
||||
m.release()
|
||||
self.assertEqual(m.position(), Coordinates(0, 0, 0, 4))
|
||||
|
||||
def test_home(self):
|
||||
def test_safe_zero(self):
|
||||
m = GMachine()
|
||||
m.do_command(GCode.parse_line("X1Y2Z3E4"))
|
||||
m.home()
|
||||
m.safe_zero()
|
||||
self.assertEqual(m.position(), Coordinates(0, 0, 0, 4))
|
||||
|
||||
def test_none(self):
|
||||
|
||||
Reference in new issue
Block a user