@Test
public void testRepeated() {

    int n = 50;
    int[] order = new int[n];
    double[] values = new double[n];
    for (int i = 0; i < n; i++) {
        values[i] = Math.rint(10 * ((double) i / n)) / 10.0;
    }
    Sort.sort(order, values);
    checkOrder(order, values);
}