From d65df72754a5e8fead86539f81bd9a46e116431c Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Tue, 15 Nov 2016 19:24:03 +0300 Subject: [PATCH] java: fix testIsSubmatrix test --- modules/core/misc/java/test/MatTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/misc/java/test/MatTest.java b/modules/core/misc/java/test/MatTest.java index a2570f4342..3ff0c8be07 100644 --- a/modules/core/misc/java/test/MatTest.java +++ b/modules/core/misc/java/test/MatTest.java @@ -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()); }