aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_transformations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/geo_transformations.cpp')
-rwxr-xr-xtest/geo_transformations.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp
index 25f1d9aa0..c72267955 100755
--- a/test/geo_transformations.cpp
+++ b/test/geo_transformations.cpp
@@ -666,6 +666,10 @@ template<typename Scalar, int Mode, int Options> void transformations_no_scale()
VERIFY((m3 * m3.inverse()).isIdentity(test_precision<Scalar>()));
// Verify implicit last row is initialized.
VERIFY_IS_APPROX(Vector4(m3.row(3)), Vector4(0.0, 0.0, 0.0, 1.0));
+
+ VERIFY_IS_APPROX(t3.rotation(), t3.linear());
+ if(Mode==Isometry)
+ VERIFY(t3.rotation().data()==t3.linear().data());
}
EIGEN_DECLARE_TEST(geo_transformations)