fixed Core_Array.expressions test
This commit is contained in:
@@ -630,7 +630,7 @@ bool CV_OperationsTest::TestTemplateMat()
|
|||||||
|
|
||||||
Mat_<uchar> matFromData(1, 4, uchar_data);
|
Mat_<uchar> matFromData(1, 4, uchar_data);
|
||||||
const Mat_<uchar> mat2 = matFromData.clone();
|
const Mat_<uchar> mat2 = matFromData.clone();
|
||||||
CHECK_DIFF(matFromData, eye.reshape(1));
|
CHECK_DIFF(matFromData, eye.reshape(1, 1));
|
||||||
if (matFromData(Point(0,0)) != uchar_data[0])throw test_excep();
|
if (matFromData(Point(0,0)) != uchar_data[0])throw test_excep();
|
||||||
if (mat2(Point(0,0)) != uchar_data[0]) throw test_excep();
|
if (mat2(Point(0,0)) != uchar_data[0]) throw test_excep();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user