diff --git a/utest/ui/Transformations.cpp b/utest/ui/Transformations.cpp index ab1c51d4..d2fb43d4 100644 --- a/utest/ui/Transformations.cpp +++ b/utest/ui/Transformations.cpp @@ -3,7 +3,6 @@ using namespace std; using namespace PointMatcherSupport; - static inline Eigen::Transform buildUpTransformation2D(const Eigen::Matrix& translation, const Eigen::Rotation2D& rotation, const NumericType scale = 1.0) @@ -59,7 +58,7 @@ static inline void assertOnDataPointsTransformation(const PM::DataPoints& cloud, EXPECT_EQ(cloud.featureLabels, transformedCloud.featureLabels); EXPECT_EQ(cloud.descriptorLabels, transformedCloud.descriptorLabels); EXPECT_EQ(cloud.timeLabels, transformedCloud.timeLabels); - EXPECT_EQ(cloud.times, transformedCloud.times); + EXPECT_TRUE(cloud.times.isApprox(transformedCloud.times, 0)); } //---------------------------