def test_even_numbers(self): self.assertTrue(is_palindrome('toot'))
def test_odd_numbers(self): self.assertTrue(is_palindrome('tot'))
def test_non_palindromes(self): self.assertFalse(is_palindrome('i am not a palindrome'))
def test_multiple_sentences(self): self.assertTrue(is_palindrome('Doc, note, I dissent. A fast never prevents a fatness. I diet on cod.'))
def test_complex_sentences(self): self.assertTrue(is_palindrome('A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal: Panama!'))
def test_complete_sentences(self): self.assertTrue(is_palindrome('Lisa Bonet ate no basil.'))
def test_simple_values(self): self.assertTrue(is_palindrome('stunt nuts'))