Sha256: 9ab932f65d0f0b4076082befe38502b0b8585fb5b75aa96191b66ba047336e30

Contents?: true

Size: 1.72 KB

Versions: 87

Compression:

Stored size: 1.72 KB

Contents

{
  "exercise": "scrabble-score",
  "version": "1.1.0",
  "cases": [
    {
      "description": "lowercase letter",
      "property": "score",
      "input": {
        "word": "a"
      },
      "expected": 1
    },
    {
      "description": "uppercase letter",
      "property": "score",
      "input": {
        "word": "A"
      },
      "expected": 1
    },
    {
      "description": "valuable letter",
      "property": "score",
      "input": {
        "word": "f"
      },
      "expected": 4
    },
    {
      "description": "short word",
      "property": "score",
      "input": {
        "word": "at"
      },
      "expected": 2
    },
    {
      "description": "short, valuable word",
      "property": "score",
      "input": {
        "word": "zoo"
      },
      "expected": 12
    },
    {
      "description": "medium word",
      "property": "score",
      "input": {
        "word": "street"
      },
      "expected": 6
    },
    {
      "description": "medium, valuable word",
      "property": "score",
      "input": {
        "word": "quirky"
      },
      "expected": 22
    },
    {
      "description": "long, mixed-case word",
      "property": "score",
      "input": {
        "word": "OxyphenButazone"
      },
      "expected": 41
    },
    {
      "description": "english-like word",
      "property": "score",
      "input": {
        "word": "pinata"
      },
      "expected": 8
    },
    {
      "description": "empty input",
      "property": "score",
      "input": {
        "word": ""
      },
      "expected": 0
    },
    {
      "description": "entire alphabet available",
      "property": "score",
      "input": {
        "word": "abcdefghijklmnopqrstuvwxyz"
      },
      "expected": 87
    }
  ]
}

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
trackler-2.2.1.159 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.158 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.157 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.156 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.155 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.154 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.153 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.152 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.151 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.150 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.149 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.148 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.147 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.146 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.145 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.144 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.143 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.142 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.141 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.140 problem-specifications/exercises/scrabble-score/canonical-data.json