コード例 #1
0
        public void isPalindromeTest()
        {
            Problem4 p        = new Problem4();
            bool     expected = true;
            bool     actual   = p.isPalindrome(9009);

            Assert.AreEqual(expected, actual);

            Problem4 p1 = new Problem4();

            expected = false;
            actual   = p.isPalindrome(1100);
            Assert.AreEqual(expected, actual);
        }