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 91a2ad5 commit e52c8eaCopy full SHA for e52c8ea
subprojects/robotpy-wpimath/tests/test_trapezoid_profile.py
@@ -14,3 +14,11 @@ def test_constraints_repr(TrapezoidProfile):
14
constraints = TrapezoidProfile.Constraints()
15
16
assert repr(constraints).startswith(f"{expected_qualname}(maxVelocity=0.")
17
+
18
19
+@pytest.mark.parametrize("TrapezoidProfile", trapezoid_profile_types)
20
+def test_state_repr(TrapezoidProfile):
21
+ expected_qualname = f"{TrapezoidProfile.__name__}.State"
22
+ constraints = TrapezoidProfile.State()
23
24
+ assert repr(constraints).startswith(f"{expected_qualname}(position=0.")
0 commit comments