Lines Matching full:steps
101 int32_t steps = 100; in ZTEST_F() local
106 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
114 int32_t steps = 1000; in ZTEST_F() local
120 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
132 int32_t steps = 1000; in ZTEST_F() local
137 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
147 int32_t steps = 1000; in ZTEST_F() local
153 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
293 int32_t steps = 50; in ZTEST_F() local
298 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
307 (void)stepper_get_actual_position(fixture->dev, &steps); in ZTEST_F()
308 zassert_equal(steps, 50u, "Target position should be %d but is %d", 50u, steps); in ZTEST_F()
313 int32_t steps = -50; in ZTEST_F() local
318 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
327 (void)stepper_get_actual_position(fixture->dev, &steps); in ZTEST_F()
328 zassert_equal(steps, -50, "Target position should be %d but is %d", -50, steps); in ZTEST_F()
333 int32_t steps = 0; in ZTEST_F() local
338 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
347 (void)stepper_get_actual_position(fixture->dev, &steps); in ZTEST_F()
348 zassert_equal(steps, 0, "Target position should be %d but is %d", 0, steps); in ZTEST_F()
353 int32_t steps = 100; in ZTEST_F() local
359 ret = stepper_move_by(fixture->dev, steps); in ZTEST_F()
369 int32_t steps = 50; in ZTEST_F() local
375 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
382 int32_t steps = 50; in ZTEST_F() local
388 (void)stepper_move_by(fixture->dev, steps); in ZTEST_F()
403 int32_t steps = 100; in ZTEST_F() local
410 ret = stepper_move_by(fixture->dev, steps); in ZTEST_F()
421 int32_t steps = 0; in ZTEST_F() local
427 (void)stepper_get_actual_position(fixture->dev, &steps); in ZTEST_F()
428 zassert_true(IN_RANGE(steps, 4, 6), "Current position should be between 4 and 6 but is %d", in ZTEST_F()
429 steps); in ZTEST_F()
435 int32_t steps = 0; in ZTEST_F() local
441 (void)stepper_get_actual_position(fixture->dev, &steps); in ZTEST_F()
442 zassert_true(IN_RANGE(steps, -6, 4), in ZTEST_F()
443 "Current position should be between -6 and -4 but is %d", steps); in ZTEST_F()
449 int32_t steps = 0; in ZTEST_F() local
455 zassert_equal(steps, 0, "Current position should not have changed from %d but is %d", 0, in ZTEST_F()
456 steps); in ZTEST_F()
486 int32_t steps = 50; in ZTEST_F() local
494 (void)stepper_get_actual_position(fixture->dev, &steps); in ZTEST_F()
495 zassert_equal(steps, 0, "Current position should not have changed from %d but is %d", 0, in ZTEST_F()
496 steps); in ZTEST_F()