Sha256: 431d0be560fd1ed0deb090001666301c903a1dc2471d91bf6777148de18d2bd6

Contents?: true

Size: 1.79 KB

Versions: 33

Compression:

Stored size: 1.79 KB

Contents

{
  "exercise": "isogram",
  "comments": [
    "An isogram is a word or phrase without a repeating letter."
  ],
  "version": "1.0.0",
  "cases": [
    {
      "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
        }
      ]
    }
  ]
}

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
trackler-2.0.8.50 common/exercises/isogram/canonical-data.json
trackler-2.0.8.49 common/exercises/isogram/canonical-data.json
trackler-2.0.8.48 common/exercises/isogram/canonical-data.json
trackler-2.0.8.47 common/exercises/isogram/canonical-data.json
trackler-2.0.8.46 common/exercises/isogram/canonical-data.json
trackler-2.0.8.45 common/exercises/isogram/canonical-data.json
trackler-2.0.8.44 common/exercises/isogram/canonical-data.json
trackler-2.0.8.43 common/exercises/isogram/canonical-data.json
trackler-2.0.8.42 common/exercises/isogram/canonical-data.json
trackler-2.0.8.41 common/exercises/isogram/canonical-data.json
trackler-2.0.8.40 common/exercises/isogram/canonical-data.json
trackler-2.0.8.39 common/exercises/isogram/canonical-data.json
trackler-2.0.8.38 common/exercises/isogram/canonical-data.json
trackler-2.0.8.37 common/exercises/isogram/canonical-data.json
trackler-2.0.8.36 common/exercises/isogram/canonical-data.json
trackler-2.0.8.35 common/exercises/isogram/canonical-data.json
trackler-2.0.8.34 common/exercises/isogram/canonical-data.json
trackler-2.0.8.33 common/exercises/isogram/canonical-data.json
trackler-2.0.8.32 common/exercises/isogram/canonical-data.json
trackler-2.0.8.31 common/exercises/isogram/canonical-data.json