From 07422247ba110f1c65cb2c8c84043896470e98b4 Mon Sep 17 00:00:00 2001 From: kradchen Date: Thu, 25 May 2023 16:29:43 +0800 Subject: [PATCH] Fix Test. --- test/DataFilter_Test.cpp | 2 +- test/Reconstruction_Test.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/test/DataFilter_Test.cpp b/test/DataFilter_Test.cpp index e6c8a11..8a09bee 100644 --- a/test/DataFilter_Test.cpp +++ b/test/DataFilter_Test.cpp @@ -126,6 +126,6 @@ TEST_F(DataFilter_Test, filterReflectionData) { EXPECT_EQ(3, result.getDataSize()); EXPECT_DOUBLE_AE(result[0],1); EXPECT_DOUBLE_AE(result[1],1); - EXPECT_DOUBLE_AE(result[2],1); + EXPECT_DOUBLE_AE(result[2],0); } diff --git a/test/Reconstruction_Test.cpp b/test/Reconstruction_Test.cpp index a5b85ef..0c45187 100644 --- a/test/Reconstruction_Test.cpp +++ b/test/Reconstruction_Test.cpp @@ -118,12 +118,10 @@ TEST_F(Reconstruction_Test,traceLine3D){ auto path = m.read("path"); auto ds = m.read("ds"); - result.path.printf(); for (size_t i = 0; i < result.path.getDataSize(); i++) { EXPECT_DOUBLE_AE(result.path.getData()[i],path[i])<<"index:"<