Unverified Commit 424595ce authored by Gabriele Buondonno's avatar Gabriele Buondonno Committed by GitHub
Browse files

[test_geometry] Test constructor from vector (#1)

parent 61d25345
Pipeline #12889 passed with stage
in 8 minutes and 36 seconds
......@@ -18,6 +18,10 @@ q.normalize()
v = np.array([0.5,-0.5,0.5,0.5])
qv = Quaternion(v)
assert(isapprox(qv.coeffs(), v))
r = AngleAxis(q)
q2 = Quaternion(r)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment