Beispiel #1
0
 def test_palindromo(self, phrase):
     tool_string = ToolString()
     self.assertTrue(tool_string.is_palindromo(phrase))
Beispiel #2
0
 def test_no_palindromo_2(self):
     tool_string = ToolString()
     self.assertFalse(
         tool_string.is_palindromo(
             'la programacion requiere muchas horas de practica'))
Beispiel #3
0
 def test_palindromo_2(self):
     tool_string = ToolString()
     self.assertTrue(
         tool_string.is_palindromo('agita falsos usos la fatiga'))
Beispiel #4
0
 def test_no_palindromo_1(self):
     tool_string = ToolString()
     self.assertFalse(tool_string.is_palindromo('mendoza'))
Beispiel #5
0
 def test_palindromo_1(self):
     tool_string = ToolString()
     self.assertTrue(tool_string.is_palindromo('neuquen'))