示例#1
0
        public void TestPrime6() // Not suppose to work
        {
            PrimeNumbers numbers = new PrimeNumbers();

            Assert.Equal(numbers.GetNPrime(6), 1);
        }
示例#2
0
        public void TestPrime5()
        {
            PrimeNumbers numbers = new PrimeNumbers();

            Assert.Equal(numbers.GetNPrime(5), 11);
        }
示例#3
0
        public void TestPrime4()
        {
            PrimeNumbers numbers = new PrimeNumbers();

            Assert.Equal(numbers.GetNPrime(4), 7);
        }
示例#4
0
        public void TestPrime3()
        {
            PrimeNumbers numbers = new PrimeNumbers();

            Assert.Equal(numbers.GetNPrime(3), 5);
        }
示例#5
0
        public void TestPrime2()
        {
            PrimeNumbers numbers = new PrimeNumbers();

            Assert.Equal(numbers.GetNPrime(2), 3);
        }
示例#6
0
        public void TestPrime1()
        {
            PrimeNumbers numbers = new PrimeNumbers();

            Assert.Equal(numbers.GetNPrime(1), 2);
        }