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

@@ -109,7 +109,7 @@ TEST_P(Blend, Accuracy)
else
blendLinearGold<float>(img1, img2, weights1, weights2, result_gold);
EXPECT_MAT_NEAR(result_gold, result, CV_MAT_DEPTH(type) == CV_8U ? 1.f : 1e-5f, 0);
EXPECT_MAT_NEAR(result_gold, result, CV_MAT_DEPTH(type) == CV_8U ? 1.f : 1e-5f);
}
INSTANTIATE_TEST_CASE_P(GPU_ImgProc, Blend, Combine(