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 f5fa387 commit 13e77deCopy full SHA for 13e77de
tests/compas/geometry/test_quaternion.py
@@ -149,4 +149,5 @@ def test_quaternion_other_methods():
149
quaternion = Quaternion.from_frame(Frame.worldZX())
150
canonized = quaternion.canonized()
151
152
- assert str(canonized) == str("Quaternion(0.5, -0.5, -0.5, -0.5)")
+ value = TOL.format_number(0.5)
153
+ assert str(canonized) == str("Quaternion(" + value + ", -" + value + ", -" + value + ", -" + value + ")")
0 commit comments