Example #1
0
 def test_string_vazia(self):
     resultado = isograma('')
     self.assertTrue(resultado)
Example #2
0
 def test_space(self):
     self.assertTrue(isograma(' '))
Example #3
0
 def test_other_type(self):
     self.assertFalse(isograma(1))
Example #4
0
 def test_spaces(self):
     self.assertFalse(isograma('  '))
Example #5
0
 def test_sensitive_case(self):
     self.assertFalse(isograma('aA'))
Example #6
0
 def test_log_word(self):
     self.assertTrue(isograma('Dermatoglyphics'))
Example #7
0
 def testD(self):
     resultado = isograma("1")
     self.assertFalse(resultado)
Example #8
0
 def test(self):
     resultado = isograma("ABC")
     self.assertTrue(resultado)