Commit 2f0fe5b8 authored by Andrey Pavlenko's avatar Andrey Pavlenko Committed by OpenCV Buildbot

Merge pull request #2450 from ilya-lavrenov:tapi_test

parents f21a9488 f4043153
......@@ -786,4 +786,13 @@ TEST(UMat, setOpenCL)
cv::ocl::setUseOpenCL(useOCL);
}
TEST(UMat, ReadBufferRect)
{
UMat m(1, 10000, CV_32FC2, Scalar::all(-1));
Mat t(1, 9000, CV_32FC2, Scalar::all(-200)), t2(1, 9000, CV_32FC2, Scalar::all(-1));
m.colRange(0, 9000).copyTo(t);
EXPECT_MAT_NEAR(t, t2, 0);
}
} } // namespace cvtest::ocl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment