public void Test1() { /* * By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. */ var sut = new E007_10001stprime(); Assert.Equal(13, sut.GetPrimeNumber(6)); }
public void Solution() { /* * * What is the 10 001st prime number? */ var sut = new E007_10001stprime(); Assert.Equal(104743, sut.GetPrimeNumber(10001)); /* * Congratulations, the answer you gave to problem 7 is correct. * You are the 368949th person to have solved this problem. */ }