Example #1
0
 def test_palindrome_false_three(self):
     input_string = "Wassamassaw ā€“ a town in South Dakota"
     expected_output = False
     return_value = palindrome_checker(input_string)
     self.assertEqual(expected_output, return_value)
Example #2
0
 def test_palindrome_success_six(self):
     input_string = "Able was I ere I saw Elba"
     expected_output = True
     return_value = palindrome_checker(input_string)
     self.assertEqual(expected_output, return_value)
Example #3
0
 def test_palindrome_false_two(self):
     input_string = "Kanakanak ā€“ a town in Alaska"
     expected_output = False
     return_value = palindrome_checker(input_string)
     self.assertEqual(expected_output, return_value)
Example #4
0
 def test_palindrome_success_five(self):
     input_string = "Go hang a salami; Iā€™m a lasagna hog."
     expected_output = True
     return_value = palindrome_checker(input_string)
     self.assertEqual(expected_output, return_value)
Example #5
0
 def test_palindrome_success_four(self):
     input_string = "Reviled did I live, said I, as evil I did deliver"
     expected_output = True
     return_value = palindrome_checker(input_string)
     self.assertEqual(expected_output, return_value)
Example #6
0
 def test_palindrome_success_three(self):
     input_string = "Live not on evil"
     expected_output = True
     return_value = palindrome_checker(input_string)
     self.assertEqual(expected_output, return_value)
Example #7
0
 def test_palindrome_success_two(self):
     input_string = "aibohphobia"
     expected_output = True
     return_value = palindrome_checker(input_string)
     self.assertEqual(expected_output, return_value)
Example #8
0
 def test_palindrome_success_case(self):
     input_string = "kayak"
     expected_output = True
     return_value = palindrome_checker(input_string)
     self.assertEqual(expected_output, return_value)