Fixed test for ocl_flip

This commit is contained in:
Elena Gvozdeva 2013-12-06 15:53:00 +04:00
parent b930028727
commit f5a01f15a5

View File

@ -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);
}
}