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

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

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

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

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

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

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