Пример #1
0
 def testNull(self):
     self.assertEqual(isPalindrome("racecar"), True)
     self.assertTrue(isPalindrome("racecar"))
Пример #2
0
 def testNull(self):
     self.assertEqual(isPalindrome("rabcr"), True)
     self.assertFalse(isPalindrome("rabcr"))
Пример #3
0
 def test2(self):
     return self.assertEqual(isPalindrome("rabbit", False))
Пример #4
0
 def testNull(self):
     return self.assertEqual(isPalindrome("1"), True)
     return self.assertTrue(isPalindrome("1"))
Пример #5
0
 def test1(self):
     return self.assertEqual(isPalindrome("racecar"), True)