Esempio n. 1
0
        public void TestMethod_PrimeByFormula_value_38()
        {
            const ushort source   = 38;
            const int    expected = 1447;
            int          result   = FunctionsMath.PrimeByFormula(source);

            Assert.AreEqual(result, expected);
        }
Esempio n. 2
0
        public void TestMethod_PrimeByFormula_2()
        {
            const ushort source   = 2;
            const int    expected = 43;
            int          result   = FunctionsMath.PrimeByFormula(source);

            Assert.AreEqual(result, expected);
        }