Пример #1
0
        public void TestThreePositionPrimeNumberPosition()
        {
            var findPrime = new Filter.Integer();

            Assert.AreEqual(findPrime.FindPrimeNumber(1), 2);
            Assert.AreEqual(findPrime.FindPrimeNumber(2), 3);
            Assert.AreEqual(findPrime.FindPrimeNumber(3), 5);
        }
Пример #2
0
        public void Test15PositionPrimeNumber()
        {
            var findPrime = new Filter.Integer();

            Assert.AreEqual(47, findPrime.FindPrimeNumber(15));
        }
Пример #3
0
        public void Test1589574PositionPrimeNumber()
        {
            var findPrime = new Filter.Integer();

            Assert.AreEqual(25404451, findPrime.FindPrimeNumber(1589574));
        }
Пример #4
0
        public void Test4PositionPrimeNumber()
        {
            var findPrime = new Filter.Integer();

            Assert.AreEqual(findPrime.FindPrimeNumber(4), 7);
        }