@Test
public void testRandomized() {

    Random rand = new Random();
    for (int k = 0; k < 100; k++) {
        int[] order = new int[30];
        double[] values = new double[30];
        for (int i = 0; i < 30; i++) {
            values[i] = rand.nextDouble();
        }
        Sort.sort(order, values);
        checkOrder(order, values);
    }
}