/**
   This program tests the 1st duplicate remover algorithm by removing
   duplicates in an array that is filled with random numbers.
*/
public class DuplicateRemoveTester
{  
   public static void main(String[] args)
   {  
      int[] a = ArrayUtil.randomIntArray(20, 100);
      ArrayUtil.print(a);

      DuplicateRemover remover = new DuplicateRemover(a);
      remover.removeDups();

      ArrayUtil.print(a, remover.size);
   }
}

   
