@org.junit.Test public void testQuickSort() throws Exception { Integer[] desordenado = {4, 5, 6, 2, 3, 1, 8, 9, 7}; Integer[] ordenado = {1, 2, 3, 4, 5, 6, 7, 8, 9}; Sorts.quickSort(desordenado, 0, desordenado.length - 1); assertTrue(Arrays.equals(ordenado, desordenado)); }