示例#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();
        }
示例#2
0
 public int Problem01_should_return_expected_result(int max)
 {
     // arrange, act, assert
     return(_problemsContainer.SolveProblem01(max));
 }