Exemple #1
0
        public void SomePrime()
        {
            int numberOfPrime = 6;
            int expected      = 13;

            int actual = PrimeGenerator.GetNthPrime(numberOfPrime);

            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void SmallestPrime()
        {
            int numberOfPrime = 1;
            int expected      = 2;

            int actual = PrimeGenerator.GetNthPrime(numberOfPrime);

            Assert.AreEqual(expected, actual);
        }