コード例 #1
0
 public void TheLargestPalindromeMadeFromTheProductOfTwoDigitNumbersMustBe9009()
 {
     const int expected = 9009;
     var result = new EulerProblem004(10, 100).Solve();
     result.Should().Be(expected);
 }
コード例 #2
0
 public void TheLargestPalindromeMadeFromTheProductOfFiveDigitNumbersMustBe906609()
 {
     const int expected = 6948496;
     var result = new EulerProblem004(568, 2653).Solve();
     result.Should().Be(expected);
 }