package bench;
abstract public class TestBase
{
    private String name;

    public TestBase(String s)
    {
        name = s;
    }

    public final long runTest()
    {
        long startTime;
        long endTime;

        startTime = System.currentTimeMillis();
        performTest();
        endTime = System.currentTimeMillis();

        return (endTime - startTime);
    }

    abstract public void setData(int p1, int p2);
    abstract public void performTest();
}
