package org.opencv.test.highgui;
+import java.util.ArrayList;
+import java.util.List;
+
import org.opencv.highgui.Highgui;
import org.opencv.test.OpenCVTestCase;
import org.opencv.test.OpenCVTestRunner;
}
public void testImencodeStringMatListOfByte() {
- fail("Not yet implemented");
+ List<Byte> buf = new ArrayList<Byte>();
+ assertEquals(0, buf.size());
+ assertTrue( Highgui.imencode(".jpg", gray127, buf) );
+ assertFalse(0 == buf.size());
}
public void testImencodeStringMatListOfByteListOfInteger() {