Exemple #1
0
        static void Main()
        {
            var container = new ProblemsContainer();

            Console.WriteLine($"Problem 1 solution is {container.SolveProblem01()}");
            Console.WriteLine($"Problem 2 solution is {container.SolveProblem02()}");
            Console.WriteLine($"Problem 3 solution is {container.SolveProblem03()}");
            Console.WriteLine($"Problem 4 solution is {container.SolveProblem04()}");
            Console.ReadKey();
        }
Exemple #2
0
 public int Problem02_should_return_expected_result(int maxFiblonacciValue)
 {
     // arrange, act, assert
     return(_problemsContainer.SolveProblem02(maxFiblonacciValue));
 }