More coverage testing.

This commit is contained in:
jgoppert
2015-11-05 18:07:05 -05:00
parent 550108cf1d
commit 4a6369cee5
4 changed files with 37 additions and 7 deletions
+6
View File
@@ -125,6 +125,12 @@ int main()
Vector<float, 4> q_dot = q.derivative(Vector3f(1, 2, 3));
printf("q_dot:\n");
q_dot.T().print();
// quaternion product
Quatf q_prod_check(
0.93394439f, 0.0674002f, 0.20851f, 0.28236266f);
assert(q_prod_check == q_check*q_check);
};
/* vim: set et fenc=utf-8 ff=unix sts=0 sw=4 ts=4 : */