*/
public class SortTest extends TestCase {
public void testSortOrder() throws Exception {
ShipSorter sorter = new ShipSorter();
sorter.setSort(11);
sorter.setSort(2);
sorter.setSort(7);
sorter.setSort(7);
sorter.setSort(9);
int[] sorts = sorter.getSortOrder();
// sortOrder = new int[] {3, 4, 5, 1, 2, 6, 7, 8, 9, 10, 11, 12};
assertEquals(9, sorts[0]);
assertEquals(-7, sorts[1]);
assertEquals(2, sorts[2]);