Skip to content

Commit

Permalink
[examples/maxswerve] Black
Browse files Browse the repository at this point in the history
  • Loading branch information
epanov1602 committed Feb 23, 2025
1 parent ac74609 commit 3d0314d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/maxswerve/tests/test_swerveutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_stepTowardsCircular1():
stepsize = 0.3455804605358387
target = 0.0 # stepping towards zero direction
result = swerveutils.stepTowardsCircular(
current = current, stepsize = stepsize, target = target
current=current, stepsize=stepsize, target=target
)
# stepping towards zero angle should result in smaller absolute value
assert abs(result) < abs(current)

0 comments on commit 3d0314d

Please sign in to comment.