increase epsilons for some tests, which functions use floating point arithm

(cherry picked from commit 5c07e0b6d3)
This commit is contained in:
Vladislav Vinogradov
2014-10-23 18:39:36 +04:00
committed by Alexander Smorkalov
parent 5a77176654
commit d579d3e596
3 changed files with 6 additions and 6 deletions

View File

@@ -134,8 +134,8 @@ GPU_TEST_P(BruteForceNonLocalMeans, Regression)
cv::resize(bgr_gold, bgr_gold, cv::Size(256, 256));
cv::resize(gray_gold, gray_gold, cv::Size(256, 256));
EXPECT_MAT_NEAR(bgr_gold, dbgr, 1e-4);
EXPECT_MAT_NEAR(gray_gold, dgray, 1e-4);
EXPECT_MAT_NEAR(bgr_gold, dbgr, 1);
EXPECT_MAT_NEAR(gray_gold, dgray, 1);
}
INSTANTIATE_TEST_CASE_P(GPU_Denoising, BruteForceNonLocalMeans, ALL_DEVICES);