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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user