diff --git a/exercises/isogram/canonical-data.json b/exercises/isogram/canonical-data.json index 4c28e51bb3..1148bd5513 100644 --- a/exercises/isogram/canonical-data.json +++ b/exercises/isogram/canonical-data.json @@ -1,44 +1,65 @@ { + "exercise": "isogram", + "comments": [ + "An isogram is a word or phrase without a repeating letter." + ], + "version": "1.0.0", "cases": [ { - "description": "empty string", - "input": "", - "expected": true - }, - { - "description": "isogram with only lower case characters", - "input": "isogram", - "expected": true - }, - { - "description": "word with one duplicated character", - "input": "eleven", - "expected": false - }, - { - "description": "longest reported english isogram", - "input": "subdermatoglyphic", - "expected": true - }, - { - "description": "word with duplicated character in mixed case", - "input": "Alphabet", - "expected": false - }, - { - "description": "hypothetical isogrammic word with hyphen", - "input": "thumbscrew-japingly", - "expected": true - }, - { - "description": "isogram with duplicated non letter character", - "input": "Hjelmqvist-Gryb-Zock-Pfund-Wax", - "expected": true - }, - { - "description": "made-up name that is an isogram", - "input": "Emily Jung Schwartzkopf", - "expected": true + "description": "Check if the given string is an isogram", + "comments": [ + "Output should be a boolean denoting if the string is a isogram or not." + ], + "cases": [ + { + "description": "empty string", + "property": "isIsogram", + "input": "", + "expected": true + }, + { + "description": "isogram with only lower case characters", + "property": "isIsogram", + "input": "isogram", + "expected": true + }, + { + "description": "word with one duplicated character", + "property": "isIsogram", + "input": "eleven", + "expected": false + }, + { + "description": "longest reported english isogram", + "property": "isIsogram", + "input": "subdermatoglyphic", + "expected": true + }, + { + "description": "word with duplicated character in mixed case", + "property": "isIsogram", + "input": "Alphabet", + "expected": false + }, + { + "description": "hypothetical isogrammic word with hyphen", + "property": "isIsogram", + "input": "thumbscrew-japingly", + "expected": true + }, + { + "description": "isogram with duplicated non letter character", + "property": "isIsogram", + "input": "Hjelmqvist-Gryb-Zock-Pfund-Wax", + "expected": true + }, + { + "description": "made-up name that is an isogram", + "property": "isIsogram", + "input": "Emily Jung Schwartzkopf", + "expected": true + } + ] } ] }