Ejemplo n.º 1
0
 public void TheSumOfAllThePrimesBelowTwoMillionMustBe142913828922()
 {
     const long expected = 142913828922;
     var result = new EulerProblem010(2000000).Solve();
     result.Should().Be(expected);
 }
Ejemplo n.º 2
0
 public void TheSumOfAllThePrimesBelow10MustBe17()
 {
     const int expected = 17;
     var result = new EulerProblem010(10).Solve();
     result.Should().Be(expected);
 }