def test_palindromo_2(self): tool_string = ToolString() self.assertTrue( tool_string.is_palindromo('agita falsos usos la fatiga'))
def test_palindromo_1(self): tool_string = ToolString() self.assertTrue(tool_string.is_palindromo('neuquen'))
def test_no_mayuscula_2(self): tool_string = ToolString() self.assertFalse(tool_string.is_upper('flask'))
def test_no_mayuscula_1(self): tool_string = ToolString() self.assertFalse(tool_string.is_upper('cordoba'))
def test_palindromo(self, phrase): tool_string = ToolString() self.assertTrue(tool_string.is_palindromo(phrase))
def test_no_mayusculas(self, phrase): tool_string = ToolString() self.assertFalse(tool_string.is_upper(phrase))