01: /**
02:    This program tests the selection sort algorithm by
03:    sorting an array that is filled with random numbers.
04: */
05: public class SelectionSortTester
06: {  
07:    public static void main(String[] args)
08:    {  
09:       int[] a = ArrayUtil.randomIntArray(20, 100);
10:       ArrayUtil.print(a);
11: 
12:       SelectionSorter sorter = new SelectionSorter(a);
13:       sorter.sort();
14: 
15:       ArrayUtil.print(a);
16:    }
17: }
18: 
19: