projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b0d9f4
)
fixed Core_Array.expressions test
author
Vadim Pisarevsky
<no@email>
Tue, 10 Apr 2012 21:28:53 +0000
(21:28 +0000)
committer
Vadim Pisarevsky
<no@email>
Tue, 10 Apr 2012 21:28:53 +0000
(21:28 +0000)
modules/core/test/test_operations.cpp
patch
|
blob
|
history
diff --git
a/modules/core/test/test_operations.cpp
b/modules/core/test/test_operations.cpp
index
8528fc3
..
3917e5f
100644
(file)
--- a/
modules/core/test/test_operations.cpp
+++ b/
modules/core/test/test_operations.cpp
@@
-630,7
+630,7
@@
bool CV_OperationsTest::TestTemplateMat()
Mat_<uchar> matFromData(1, 4, uchar_data);
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 (mat2(Point(0,0)) != uchar_data[0]) throw test_excep();