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