use clean EXPECT_MAT_NEAR (no string output)

This commit is contained in:
yao
2013-05-08 17:07:44 +08:00
parent 35c6860f06
commit b6313951dc
8 changed files with 108 additions and 339 deletions

View File

@@ -240,8 +240,7 @@ TEST_P(HOG, Detect)
}
}
char s[100] = {0};
EXPECT_MAT_NEAR(cv::Mat(d_comp), cv::Mat(comp), 3, s);
EXPECT_MAT_NEAR(cv::Mat(d_comp), cv::Mat(comp), 3);
}