예제 #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));
    }
예제 #2
0
파일: Fib.cs 프로젝트: madsbuch/fibonacci
    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));
    }