From ea9db9bc39440dea1c1fc789b3d929b9ef54971f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Kr=C3=B6ger?= Date: Mon, 25 May 2020 13:31:05 +0200 Subject: [PATCH] two tests to check case insensitive behavior (#1658) --- exercises/pangram/canonical-data.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/exercises/pangram/canonical-data.json b/exercises/pangram/canonical-data.json index d940ebd103..435f771ec6 100644 --- a/exercises/pangram/canonical-data.json +++ b/exercises/pangram/canonical-data.json @@ -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", @@ -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 } ] }