mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
java: fix testIsSubmatrix test
This commit is contained in:
parent
a936cb087e
commit
d65df72754
@ -494,7 +494,7 @@ public class MatTest extends OpenCVTestCase {
|
||||
|
||||
public void testIsSubmatrix() {
|
||||
assertFalse(gray0.isSubmatrix());
|
||||
Mat subMat = gray0.submat(0, 0, gray0.rows() / 2, gray0.cols() / 2);
|
||||
Mat subMat = gray0.submat(0, gray0.rows() / 2, 0, gray0.cols() / 2);
|
||||
assertTrue(subMat.isSubmatrix());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user