1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-25 13:23:02 +04:00

java: test: use assertNotNull and assertFalse

This commit is contained in:
Ahmed Ashour
2019-05-24 10:45:09 +02:00
parent 1810702bf0
commit f9564e053d
9 changed files with 30 additions and 30 deletions
+2 -2
View File
@@ -266,7 +266,7 @@ public class MatTest extends OpenCVTestCase {
public void testEmpty() {
assertTrue(dst.empty());
assertTrue(!gray0.empty());
assertFalse(gray0.empty());
}
public void testEyeIntIntInt() {
@@ -1194,7 +1194,7 @@ public class MatTest extends OpenCVTestCase {
}
public void testToString() {
assertTrue(null != gray0.toString());
assertNotNull(gray0.toString());
}
public void testTotal() {