Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)