Skip to content

Commit

Permalink
two tests to check case insensitive behavior (exercism#1658)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikunia committed May 25, 2020
1 parent 89b3652 commit ea9db9b
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion exercises/pangram/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"A pangram is a sentence using every letter of the alphabet at least once.",
"Output should be a boolean denoting if the string is a pangram or not."
],
"version": "2.0.0",
"version": "2.1.0",
"cases": [
{
"description": "empty sentence",
Expand Down Expand Up @@ -85,6 +85,22 @@
"sentence": "the quick brown fox jumps over with lazy FX"
},
"expected": false
},
{
"description": "a-m and A-M are 26 different letters but not a pangram",
"property": "isPangram",
"input": {
"sentence": "abcdefghijklm ABCDEFGHIJKLM"
},
"expected": false
},
{
"description": "pangram with more than 26 letters (if case sensitive)",
"property": "isPangram",
"input": {
"sentence": "the 1 quick brown fox jumps Over the 2 lazy dogs"
},
"expected": true
}
]
}

0 comments on commit ea9db9b

Please sign in to comment.