/******************************************************************************
Examine the working of the mergesort by itself.

----------------------------------------------------
Copyright (c) Gunnar Gotshalks. All Rights Reserved.

Permission to use, copy, modify, and distribute this software
and its documentation for NON-COMMERCIAL purposes and
without fee is hereby granted. 
*******************************************************************************/

package FlexOr.searchAndSort;

import java.awt.*;

@SuppressWarnings("serial")
public class MergesortTest extends SortComparison {

  public MergesortTest() {
    mergeObserver.change(20, 16, 14, 21, 400);
    compareAll = false;
    centerPanel = new Panel(new GridLayout(0,1));
    centerPanel.add(mergeObserver);
    add("Center", centerPanel);
    sizeChoice.removeAll();
    sizeChoice.addItem("5");
    sizeChoice.addItem("8");
    sizeChoice.addItem("21");
    sizeChoice.addItem("30");
    sizeChoice.addItem("50");
    sizeChoice.select(2);
  }
  
}
