tracks/nim/exercises/pangram/pangram_test.nim in trackler-2.2.1.159 vs tracks/nim/exercises/pangram/pangram_test.nim in trackler-2.2.1.160

- old
+ new

@@ -1,35 +1,35 @@ import unittest -from pangram import is_pangram +from pangram import isPangram test "sentence empty": - check is_pangram("") == false + check isPangram("") == false test "recognizes a perfect lower case pangram": - check is_pangram("abcdefghijklmnopqrstuvwxyz") == true + check isPangram("abcdefghijklmnopqrstuvwxyz") == true test "test pangram with only lower case": - check is_pangram("the quick brown fox jumps over the lazy dog") == true + check isPangram("the quick brown fox jumps over the lazy dog") == true test "missing character x": - check is_pangram("a quick movement of the enemy will jeopardize five gunboats") == false + check isPangram("a quick movement of the enemy will jeopardize five gunboats") == false test "another missing character": - check is_pangram("five boxing wizards jump quickly at it") == false + check isPangram("five boxing wizards jump quickly at it") == false test "pangram with underscores": - check is_pangram("the_quick_brown_fox_jumps_over_the_lazy_dog") == true + check isPangram("the_quick_brown_fox_jumps_over_the_lazy_dog") == true test "pangram with numbers": - check is_pangram("the 1 quick brown fox jumps over the 2 lazy dogs") == true + check isPangram("the 1 quick brown fox jumps over the 2 lazy dogs") == true test "missing letters replaced by numbers": - check is_pangram("7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog") == false + check isPangram("7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog") == false test "pangram with mixedcase and punctuation": - check is_pangram("Five quacking Zephyrs jolt my wax bed.") == true + check isPangram("Five quacking Zephyrs jolt my wax bed.") == true test "upper and lower case versions of the same character": - check is_pangram("the quick brown fox jumped over the lazy FX") == false + check isPangram("the quick brown fox jumped over the lazy FX") == false