Added some new tests for Java API
This commit is contained in:
@@ -10,7 +10,6 @@ import org.opencv.core.Point3;
|
|||||||
import org.opencv.core.Scalar;
|
import org.opencv.core.Scalar;
|
||||||
import org.opencv.core.Size;
|
import org.opencv.core.Size;
|
||||||
import org.opencv.test.OpenCVTestCase;
|
import org.opencv.test.OpenCVTestCase;
|
||||||
import org.opencv.test.OpenCVTestRunner;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -192,7 +192,7 @@ public class HOGDescriptorTest extends OpenCVTestCase {
|
|||||||
public void testHOGDescriptor() {
|
public void testHOGDescriptor() {
|
||||||
HOGDescriptor hog = new HOGDescriptor();
|
HOGDescriptor hog = new HOGDescriptor();
|
||||||
|
|
||||||
assertTrue(null != hog);
|
assertNotNull(hog);
|
||||||
assertEquals(HOGDescriptor.DEFAULT_NLEVELS, hog.get_nlevels());
|
assertEquals(HOGDescriptor.DEFAULT_NLEVELS, hog.get_nlevels());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,39 +1,42 @@
|
|||||||
package org.opencv.test.video;
|
package org.opencv.test.video;
|
||||||
|
|
||||||
import org.opencv.test.OpenCVTestCase;
|
import org.opencv.test.OpenCVTestCase;
|
||||||
|
import org.opencv.video.KalmanFilter;
|
||||||
|
|
||||||
public class KalmanFilterTest extends OpenCVTestCase {
|
public class KalmanFilterTest extends OpenCVTestCase {
|
||||||
|
|
||||||
protected void setUp() throws Exception {
|
protected void setUp() throws Exception {
|
||||||
super.setUp();
|
super.setUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testCorrect() {
|
public void testCorrect() {
|
||||||
fail("Not yet implemented");
|
fail("Not yet implemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testKalmanFilter() {
|
public void testKalmanFilter() {
|
||||||
fail("Not yet implemented");
|
KalmanFilter kf = new KalmanFilter();
|
||||||
}
|
|
||||||
|
|
||||||
public void testKalmanFilterIntInt() {
|
assertNotNull(kf);
|
||||||
fail("Not yet implemented");
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public void testKalmanFilterIntIntInt() {
|
public void testKalmanFilterIntInt() {
|
||||||
fail("Not yet implemented");
|
fail("Not yet implemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testKalmanFilterIntIntIntInt() {
|
public void testKalmanFilterIntIntInt() {
|
||||||
fail("Not yet implemented");
|
fail("Not yet implemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testPredict() {
|
public void testKalmanFilterIntIntIntInt() {
|
||||||
fail("Not yet implemented");
|
fail("Not yet implemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testPredictMat() {
|
public void testPredict() {
|
||||||
fail("Not yet implemented");
|
fail("Not yet implemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testPredictMat() {
|
||||||
|
fail("Not yet implemented");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user