test: fix min/max name mismatching
authorAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 18 Apr 2017 19:25:00 +0000 (22:25 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 18 Apr 2017 19:25:00 +0000 (22:25 +0300)
modules/core/test/ocl/test_arithm.cpp

index 435cbf6..b6b2498 100644 (file)
@@ -447,8 +447,8 @@ OCL_TEST_P(Min, Mat)
     {
         generateTestData();
 
-        OCL_OFF(cv::max(src1_roi, src2_roi, dst1_roi));
-        OCL_ON(cv::max(usrc1_roi, usrc2_roi, udst1_roi));
+        OCL_OFF(cv::min(src1_roi, src2_roi, dst1_roi));
+        OCL_ON(cv::min(usrc1_roi, usrc2_roi, udst1_roi));
         Near(0);
     }
 }
@@ -461,8 +461,8 @@ OCL_TEST_P(Max, Mat)
     {
         generateTestData();
 
-        OCL_OFF(cv::min(src1_roi, src2_roi, dst1_roi));
-        OCL_ON(cv::min(usrc1_roi, usrc2_roi, udst1_roi));
+        OCL_OFF(cv::max(src1_roi, src2_roi, dst1_roi));
+        OCL_ON(cv::max(usrc1_roi, usrc2_roi, udst1_roi));
         Near(0);
     }
 }