Esempio n. 1
0
        public void PrimePalindromeTest()
        {
            var prog     = new PrimePalindrome();
            var result   = prog.Run();
            var expected = 929;

            Assert.AreEqual(expected, result);
        }
Esempio n. 2
0
 public void PrimePalindromeTest()
 {
     var prog = new PrimePalindrome();
     var result = prog.Run();
     var expected = 929;
     Assert.AreEqual(expected, result);
 }
Esempio n. 3
0
        void InternalTest(int n, int expected)
        {
            int actual = PrimePalindrome.Solve(n);

            Assert.Equal(expected, actual);
        }