Sha256: 278eeae9ab36c4815c9a48799d83d8dc1987768bf8ddae047eece878bd814462
Contents?: true
Size: 1.23 KB
Versions: 46
Compression:
Stored size: 1.23 KB
Contents
package isogram // Source: exercism/problem-specifications // Commit: f9e0ebb isogram: Update canonical-data.json as in #919 (#920) // Problem Specifications Version: 1.2.0 var testCases = []struct { description string input string expected bool }{ { 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 hyphen", input: "six-year-old", expected: true, }, { description: "made-up name that is an isogram", input: "Emily Jung Schwartzkopf", expected: true, }, { description: "duplicated character in the middle", input: "accentor", expected: false, }, }
Version data entries
46 entries across 46 versions & 1 rubygems