package bench;
abstract class SortAlgorithm
    extends TestBase
{
    protected int a[];

    SortAlgorithm(String s)
    {
        super(s);
    }

    public void setData(int p1, int p2)
    {
        a = new int[p1];

        Random r = new Random();

        for(int i = 0; i < a.length; i++)
        {
            a[i] = Math.abs(r.nextInt());
        }
    }
}