Commit c2d3ce9c authored by Andrey Pavlenko's avatar Andrey Pavlenko

fix failing test

small matrix becomes the same after shuffling
parent d81d3fc8
......@@ -1827,9 +1827,9 @@ public class CoreTest extends OpenCVTestCase {
}
public void testRandShuffleMat() {
Mat original = new Mat(1, 5, CvType.CV_32F) {
Mat original = new Mat(1, 10, CvType.CV_32F) {
{
put(0, 0, 7, 5, 2, 8, 1);
put(0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
}
};
Mat shuffled = original.clone();
......@@ -1845,9 +1845,9 @@ public class CoreTest extends OpenCVTestCase {
}
public void testRandShuffleMatDouble() {
Mat original = new Mat(1, 5, CvType.CV_32F) {
Mat original = new Mat(1, 10, CvType.CV_32F) {
{
put(0, 0, 7, 5, 2, 8, 1);
put(0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
}
};
Mat shuffled = original.clone();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment