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.119 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.118 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.117 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.116 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.115 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.114 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.113 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.111 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.110 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.109 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.108 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.107 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.106 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.105 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.104 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.103 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.102 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.101 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.100 problem-specifications/exercises/scrabble-score/canonical-data.json
trackler-2.2.1.99 problem-specifications/exercises/scrabble-score/canonical-data.json