Improve pangram test

* Add sentence missing 'z'
This commit is contained in:
Fabrice Nourisson 2016-12-27 09:47:11 +01:00
parent 2cdc994994
commit 167979c8f3

View file

@ -22,6 +22,10 @@ tests =
\() -> \() ->
Expect.equal False Expect.equal False
(isPangram "a quick movement of the enemy will jeopardize five gunboats") (isPangram "a quick movement of the enemy will jeopardize five gunboats")
, test "missing character 'z'" <|
\() ->
Expect.equal False
(isPangram "a quick movement of the enemy will jeopardixe five gunboats")
, test "another missing character 'x'" <| , test "another missing character 'x'" <|
\() -> \() ->
Expect.equal False Expect.equal False