tracks/python/exercises/isogram/isogram_test.py in trackler-2.1.0.2 vs tracks/python/exercises/isogram/isogram_test.py in trackler-2.1.0.3

- old
+ new

@@ -1,10 +1,11 @@ import unittest + from isogram import is_isogram -# test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0 +# test cases adapted from `x-common//canonical-data.json` @ version: 1.1.0 class TestIsogram(unittest.TestCase): def test_empty_string(self): self.assertTrue(is_isogram("")) @@ -27,9 +28,12 @@ def test_isogram_with_duplicated_non_letter_character(self): self.assertTrue(is_isogram("Hjelmqvist-Gryb-Zock-Pfund-Wax")) def test_made_up_name_that_is_an_isogram(self): self.assertTrue(is_isogram("Emily Jung Schwartzkopf")) + + def test_duplicated_character_in_the_middle(self): + self.assertFalse(is_isogram("accentor")) if __name__ == '__main__': unittest.main()