tests/motion: Do not step in test_motion::ResetMotionSim
Calling stepUntilDone defeats the purpose of the following REQUIRE(). The test should always start from a clean state.pull/153/head
parent
cabf284882
commit
e7003133f5
|
|
@ -26,7 +26,6 @@ ssize_t stepUntilDone(size_t maxSteps = 100000) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ResetMotionSim() {
|
void ResetMotionSim() {
|
||||||
stepUntilDone();
|
|
||||||
REQUIRE(motion.QueueEmpty());
|
REQUIRE(motion.QueueEmpty());
|
||||||
|
|
||||||
motion.SetPosition(Idler, 0);
|
motion.SetPosition(Idler, 0);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue