public void ShouldReturnCorrectResult()
            {
                var    problem = new Problem0034();
                object result  = problem.GetResult();

                result.Should().Be(40730);
            }
Exemplo n.º 2
0
        private static void Main()
        {
            Console.Write("Calculating result... ");

            object result = new Problem0034().GetResult();

            Console.WriteLine(result);
            Console.WriteLine();
        }