diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-07-09 19:54:48 +0000 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-07-09 19:54:48 +0000 |
commit | dcf7655b3d469a399c1182f350c9009e13ad8654 (patch) | |
tree | 8f6953c147ce841236eb75de5e069979557cea22 /test/geo_quaternion.cpp | |
parent | ed00df445dcbca77c44175b5811e2d7ca20d1605 (diff) |
Guard operator<< test by EIGEN_NO_IO.
Diffstat (limited to 'test/geo_quaternion.cpp')
-rw-r--r-- | test/geo_quaternion.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp index b339a5f39..6cfdb6f10 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -75,11 +75,13 @@ template<typename Scalar, int Options> void quaternion(void) q1.coeffs().setRandom(); VERIFY_IS_APPROX(q1.coeffs(), (q1*q2).coeffs()); +#ifndef EIGEN_NO_IO // Printing std::ostringstream ss; ss << q2; VERIFY(ss.str() == "0i + 0j + 0k + 1"); - +#endif + // concatenation q1 *= q2; |