コード例 #1
0
        public void The_5th_Prime_Number_Is_11()
        {
            var problem = new Problem_007();
            var result = problem.FindNthPrime(5);

            Assert.That(result, Is.EqualTo(11));
        }
コード例 #2
0
        public void The_10001st_Prime_Is_104743()
        {
            var problem = new Problem_007();
            var result = problem.FindNthPrime(10001);

            Assert.That(result, Is.EqualTo(104743));
        }