Sha256: 3cbde3b5501ba59ddd5429f9e694e2038fb756df60b43666d7b3ae0087d2cdfe

Contents?: true

Size: 1.51 KB

Versions: 94

Compression:

Stored size: 1.51 KB

Contents

{
  "exercise": "crypto-square",
  "version": "3.2.0",
  "cases": [
    {
      "description": "empty plaintext results in an empty ciphertext",
      "property": "ciphertext",
      "input": {
        "plaintext": ""
      },
      "expected": ""
    },
    {
      "description": "Lowercase",
      "property": "ciphertext",
      "input": {
        "plaintext": "A"
      },
      "expected": "a"
    },
    {
      "description": "Remove spaces",
      "property": "ciphertext",
      "input": {
        "plaintext": "  b "
      },
      "expected": "b"
    },
    {
      "description": "Remove punctuation",
      "property": "ciphertext",
      "input": {
        "plaintext": "@1,%!"
      },
      "expected": "1"
    },
    {
      "description": "9 character plaintext results in 3 chunks of 3 characters",
      "property": "ciphertext",
      "input": {
        "plaintext": "This is fun!"
      },
      "expected": "tsf hiu isn"
    },
    {
      "description": "8 character plaintext results in 3 chunks, the last one with a trailing space",
      "property": "ciphertext",
      "input": {
        "plaintext": "Chill out."
      },
      "expected": "clu hlt io "
    },
    {
      "description": "54 character plaintext results in 7 chunks, the last two with trailing spaces",
      "property": "ciphertext",
      "input": {
        "plaintext": "If man was meant to stay on the ground, god would have given us roots."
      },
      "expected": "imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn  sseoau "
    }
  ]
}

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
trackler-2.2.1.180 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.179 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.178 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.177 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.176 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.175 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.174 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.173 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.172 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.171 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.170 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.169 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.167 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.166 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.165 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.164 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.163 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.162 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.161 problem-specifications/exercises/crypto-square/canonical-data.json
trackler-2.2.1.160 problem-specifications/exercises/crypto-square/canonical-data.json