def test_quaternion_value(): expected_result = """[ 0, 0, 0, 1 ]""" result = UnitQuaternionValue(values=[0, 0, 0, 1]) assert repr(result) == expected_result
def test_orientation(): expected_result = """{ "unitQuaternion": [ 0, 0, 0, 1 ] }""" result = Orientation(unitQuaternion=UnitQuaternionValue(values=[0, 0, 0, 1])) assert repr(result) == expected_result