1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Merge pull request #14622 from asashour:junit

This commit is contained in:
Alexander Alekhin
2019-05-27 14:55:44 +00:00
9 changed files with 30 additions and 30 deletions
@@ -38,7 +38,7 @@ public class ImgcodecsTest extends OpenCVTestCase {
public void testImreadString() {
dst = Imgcodecs.imread(OpenCVTestRunner.LENA_PATH);
assertTrue(!dst.empty());
assertFalse(dst.empty());
assertEquals(3, dst.channels());
assertTrue(512 == dst.cols());
assertTrue(512 == dst.rows());
@@ -46,7 +46,7 @@ public class ImgcodecsTest extends OpenCVTestCase {
public void testImreadStringInt() {
dst = Imgcodecs.imread(OpenCVTestRunner.LENA_PATH, 0);
assertTrue(!dst.empty());
assertFalse(dst.empty());
assertEquals(1, dst.channels());
assertTrue(512 == dst.cols());
assertTrue(512 == dst.rows());