Commit d65df727 authored by Alexander Alekhin's avatar Alexander Alekhin

java: fix testIsSubmatrix test

parent a936cb08
......@@ -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());
}
......
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