Exemplo n.º 1
0
 public void TheLargestPrimeFactorOfTheNumber600851475143MustBe6857()
 {
     const int expected = 6857;
     var result = new EulerProblem003(600851475143).Solve();
     result.Should().Be(expected);
 }
Exemplo n.º 2
0
 public void TheLargestPrimeFactorOfTheNumber13195MustBe29()
 {
     const int expected = 29;
     var result = new EulerProblem003(13195).Solve();
     result.Should().Be(expected);
 }