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