Exemplo n.º 1
0
    public static void Main()
    {
        // This is the configuration.
        IFibonacci fibObject = new RecursiveFib();

        // Run tests
        FibTester.RunAll();

        // Run the program
        System.Console.WriteLine(CalculateFib(fibObject, 10));
    }
Exemplo n.º 2
0
    public static void Main()
    {
        // This is the configuration.
        IFibonacci fibObject = new RecursiveFib();
        
        // Run tests
        FibTester.RunAll();

        // Run the program
        System.Console.WriteLine(CalculateFib(fibObject, 10));
    }