java tests: bugfix in hconcat

This commit is contained in:
Kirill Kornyakov 2011-07-16 10:35:50 +00:00
parent eafa837e34
commit e76ad5509c

View File

@ -452,7 +452,7 @@ public class coreTest extends OpenCVTestCase {
public void testHconcat() { public void testHconcat() {
Mat e = Mat.eye(3, 3, CvType.CV_8UC1); Mat e = Mat.eye(3, 3, CvType.CV_8UC1);
Mat eConcat = new Mat(1, 9, CvType.CV_8UC1); Mat eConcat = new Mat(1, 9, CvType.CV_8UC1);
eConcat.put(0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1); eConcat.put(0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1);
core.hconcat(e, dst); core.hconcat(e, dst);
assertMatEqual(eConcat, dst); assertMatEqual(eConcat, dst);