mirror of
https://github.com/correl/elm.git
synced 2024-12-21 11:08:59 +00:00
Improve pangram test
* Add sentence missing 'z'
This commit is contained in:
parent
2cdc994994
commit
167979c8f3
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue