|
1 | 1 | {
|
2 | 2 | "exercise": "crypto-square",
|
3 |
| - "version": "3.2.0", |
| 3 | + "version": "3.2.1", |
4 | 4 | "cases": [
|
5 | 5 | {
|
6 | 6 | "description": "empty plaintext results in an empty ciphertext",
|
7 |
| - "property": "ciphertext", |
| 7 | + "property": "cipherText", |
8 | 8 | "input": {
|
9 |
| - "plaintext": "" |
| 9 | + "plainText": "" |
10 | 10 | },
|
11 | 11 | "expected": ""
|
12 | 12 | },
|
13 | 13 | {
|
14 | 14 | "description": "Lowercase",
|
15 |
| - "property": "ciphertext", |
| 15 | + "property": "cipherText", |
16 | 16 | "input": {
|
17 |
| - "plaintext": "A" |
| 17 | + "plainText": "A" |
18 | 18 | },
|
19 | 19 | "expected": "a"
|
20 | 20 | },
|
21 | 21 | {
|
22 | 22 | "description": "Remove spaces",
|
23 |
| - "property": "ciphertext", |
| 23 | + "property": "cipherText", |
24 | 24 | "input": {
|
25 |
| - "plaintext": " b " |
| 25 | + "plainText": " b " |
26 | 26 | },
|
27 | 27 | "expected": "b"
|
28 | 28 | },
|
29 | 29 | {
|
30 | 30 | "description": "Remove punctuation",
|
31 |
| - "property": "ciphertext", |
| 31 | + "property": "cipherText", |
32 | 32 | "input": {
|
33 |
| - "plaintext": "@1,%!" |
| 33 | + "plainText": "@1,%!" |
34 | 34 | },
|
35 | 35 | "expected": "1"
|
36 | 36 | },
|
37 | 37 | {
|
38 | 38 | "description": "9 character plaintext results in 3 chunks of 3 characters",
|
39 |
| - "property": "ciphertext", |
| 39 | + "property": "cipherText", |
40 | 40 | "input": {
|
41 |
| - "plaintext": "This is fun!" |
| 41 | + "plainText": "This is fun!" |
42 | 42 | },
|
43 | 43 | "expected": "tsf hiu isn"
|
44 | 44 | },
|
45 | 45 | {
|
46 | 46 | "description": "8 character plaintext results in 3 chunks, the last one with a trailing space",
|
47 |
| - "property": "ciphertext", |
| 47 | + "property": "cipherText", |
48 | 48 | "input": {
|
49 |
| - "plaintext": "Chill out." |
| 49 | + "plainText": "Chill out." |
50 | 50 | },
|
51 | 51 | "expected": "clu hlt io "
|
52 | 52 | },
|
53 | 53 | {
|
54 | 54 | "description": "54 character plaintext results in 7 chunks, the last two with trailing spaces",
|
55 |
| - "property": "ciphertext", |
| 55 | + "property": "cipherText", |
56 | 56 | "input": {
|
57 |
| - "plaintext": "If man was meant to stay on the ground, god would have given us roots." |
| 57 | + "plainText": "If man was meant to stay on the ground, god would have given us roots." |
58 | 58 | },
|
59 | 59 | "expected": "imtgdvs fearwer mayoogo anouuio ntnnlvt wttddes aohghn sseoau "
|
60 | 60 | }
|
|
0 commit comments