Ejemplo n.º 1
0
 def test_empty_string(self):
     self.assertIs(is_isogram(""), True)
Ejemplo n.º 2
0
 def test_duplicated_character_in_the_middle(self):
     self.assertIs(is_isogram("accentor"), False)
Ejemplo n.º 3
0
 def test_isogram_with_duplicated_letter_and_nonletter_character(self):
     self.assertIs(is_isogram("Aleph Bot Chap"), False)
Ejemplo n.º 4
0
 def test_isogram_with_duplicated_hyphen(self):
     self.assertIs(is_isogram("six-year-old"), True)
Ejemplo n.º 5
0
 def test_made_up_name_that_is_an_isogram(self):
     self.assertIs(is_isogram("Emily Jung Schwartzkopf"), True)
Ejemplo n.º 6
0
 def test_hypothetical_isogrammic_word_with_hyphen(self):
     self.assertIs(is_isogram("thumbscrew-japingly"), True)
Ejemplo n.º 7
0
 def test_word_with_duplicated_character_in_mixed_case(self):
     self.assertIs(is_isogram("Alphabet"), False)
Ejemplo n.º 8
0
 def test_longest_reported_english_isogram(self):
     self.assertIs(is_isogram("subdermatoglyphic"), True)
Ejemplo n.º 9
0
 def test_word_with_one_duplicated_character(self):
     self.assertIs(is_isogram("eleven"), False)
Ejemplo n.º 10
0
 def test_isogram_with_only_lower_case_characters(self):
     self.assertIs(is_isogram("isogram"), True)