From f5a01f15a59c06989801bd2e5a5aeab6f25bbdc2 Mon Sep 17 00:00:00 2001 From: Elena Gvozdeva Date: Fri, 6 Dec 2013 15:53:00 +0400 Subject: [PATCH] Fixed test for ocl_flip --- modules/core/test/ocl/test_arithm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core/test/ocl/test_arithm.cpp b/modules/core/test/ocl/test_arithm.cpp index 4755e69c24..844be7bdf2 100644 --- a/modules/core/test/ocl/test_arithm.cpp +++ b/modules/core/test/ocl/test_arithm.cpp @@ -976,7 +976,7 @@ OCL_TEST_P(Flip, X) OCL_OFF(cv::flip(src1_roi, dst1_roi, 0)); OCL_ON(cv::flip(usrc1_roi, udst1_roi, 0)); - Near(1e-5); + Near(0); } } @@ -988,7 +988,7 @@ OCL_TEST_P(Flip, Y) OCL_OFF(cv::flip(src1_roi, dst1_roi, 1)); OCL_ON(cv::flip(usrc1_roi, udst1_roi, 1)); - Near(1e-5); + Near(0); } } @@ -1000,7 +1000,7 @@ OCL_TEST_P(Flip, BOTH) OCL_OFF(cv::flip(src1_roi, dst1_roi, -1)); OCL_ON(cv::flip(usrc1_roi, udst1_roi, -1)); - Near(1e-5); + Near(0); } }