I know you have to cast in double but I don't know how to put it I tried everything... so i think, the program sorts numbers from an arraylist and then checks to see if your right in the int[] sorted values
public void testSortDecimal() { int[] unsorted = {1.1, .9, 3.2}; int[] sorted = { .9, 1.1, 3.2}; IterativeSorter is = new IterativeSorter(unsorted); int[] a = is.sort(); assertArrayEquals(sorted, a); }