From 134d3af0c39e8152ae4b20d2e08770369218a0fc Mon Sep 17 00:00:00 2001 From: rever0f Date: Fri, 18 Aug 2017 19:42:23 -0400 Subject: [PATCH 1/2] test with duplicate letter and nonletter character when testing the exercise i found i could cheat by bypassing all nonletter challegese --- exercises/isogram/isogram_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exercises/isogram/isogram_test.py b/exercises/isogram/isogram_test.py index 2459ae09f76..f72c5708a9e 100644 --- a/exercises/isogram/isogram_test.py +++ b/exercises/isogram/isogram_test.py @@ -34,6 +34,9 @@ def test_made_up_name_that_is_an_isogram(self): def test_duplicated_character_in_the_middle(self): self.assertFalse(is_isogram("accentor")) + def test_isogram_with_duplicated_non_letter_character_and_duplicate_character(self): + self.assertFalse(is_isogram("Aleph Bot Chap")) + if __name__ == '__main__': unittest.main() From 75dd790e0ae0b97f7365b5aee38551e6f7e9a757 Mon Sep 17 00:00:00 2001 From: rever0f Date: Sun, 20 Aug 2017 11:00:18 -0400 Subject: [PATCH 2/2] shorter test name --- exercises/isogram/isogram_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/isogram/isogram_test.py b/exercises/isogram/isogram_test.py index f72c5708a9e..6573f898942 100644 --- a/exercises/isogram/isogram_test.py +++ b/exercises/isogram/isogram_test.py @@ -34,7 +34,7 @@ def test_made_up_name_that_is_an_isogram(self): def test_duplicated_character_in_the_middle(self): self.assertFalse(is_isogram("accentor")) - def test_isogram_with_duplicated_non_letter_character_and_duplicate_character(self): + def test_isogram_with_duplicated_letter_and_nonletter_character(self): self.assertFalse(is_isogram("Aleph Bot Chap"))