We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 838d850 commit 51654fcCopy full SHA for 51654fc
test/motors.py
@@ -83,5 +83,23 @@ def test_del(self):
83
del m1
84
m1 = Motor('A')
85
86
+ def test_continuous_start(self):
87
+ t = time.time() + (60*5)
88
+ m = Motor('A')
89
+ while time.time() < t:
90
+ m.start(0)
91
+
92
+ def test_continuous_degrees(self):
93
94
95
96
+ m.run_for_degrees(0)
97
98
+ def test_continuous_position(self):
99
100
101
102
+ m.run_to_position(0)
103
104
if __name__ == '__main__':
105
unittest.main()
0 commit comments