예제 #1
0
 def test_true_2(self):
     self.assertTrue(is_palindrome('maoam'))
예제 #2
0
 def test_false(self):
     self.assertFalse(is_palindrome('abc'))
예제 #3
0
 def test_true(self):
     self.assertTrue(is_palindrome(''))
예제 #4
0
 def test_true_3(self):
     self.assertTrue(is_palindrome('If I had a hi-fi...'))