//
//M*/
-#include "test_precomp.hpp"
+#include "../test_precomp.hpp"
#include "opencv2/ts/ocl_test.hpp"
#ifdef HAVE_OPENCL
{
CV_Assert(fx > 0 && fy > 0);
- Size srcRoiSize = randomSize(1, MAX_VALUE), dstRoiSize;
+ Size srcRoiSize = randomSize(10, MAX_VALUE), dstRoiSize;
// Make sure the width is a multiple of the requested value, and no more
srcRoiSize.width += widthMultiple - 1 - (srcRoiSize.width - 1) % widthMultiple;
dstRoiSize.width = cvRound(srcRoiSize.width * fx);
for (int j = 0; j < test_loop_times; j++)
{
int depth = CV_MAT_DEPTH(type);
- double eps = depth <= CV_32S ? 1 : 1e-2;
+ double eps = depth <= CV_32S ? 1 : 5e-2;
random_roi();