Example #1
0
 def test_palindromo_2(self):
     tool_string = ToolString()
     self.assertTrue(
         tool_string.is_palindromo('agita falsos usos la fatiga'))
Example #2
0
 def test_palindromo_1(self):
     tool_string = ToolString()
     self.assertTrue(tool_string.is_palindromo('neuquen'))
Example #3
0
 def test_no_mayuscula_2(self):
     tool_string = ToolString()
     self.assertFalse(tool_string.is_upper('flask'))
Example #4
0
 def test_no_mayuscula_1(self):
     tool_string = ToolString()
     self.assertFalse(tool_string.is_upper('cordoba'))
Example #5
0
 def test_palindromo(self, phrase):
     tool_string = ToolString()
     self.assertTrue(tool_string.is_palindromo(phrase))
Example #6
0
 def test_no_mayusculas(self, phrase):
     tool_string = ToolString()
     self.assertFalse(tool_string.is_upper(phrase))