package bench;
class Fibonacchi
   extends TestBase
{
    private int outer;
    private int inner;

    public Fibonacchi()
    {
        super("Fibonacchi");
    }

    public void setData(int out, int in)
    {
        outer = out;
        inner = in;
    }


    private static int an;

    public final void performTest()
    {
        int _inner = inner;
        int _outer = outer;

        for(int iter = 0; iter < _outer; ++iter)
        {
            int a1 = 1;
            int a2 = 0;
                an = 0;

            for(int n = 1; n <= _inner; ++n)
            {
                an = a1 + a2;
                a2 = a1;
                a1 = an;
            }
        }
    }
}