forked from exercism/problem-specifications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcanonical-data.json
87 lines (87 loc) · 2.55 KB
/
canonical-data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"exercise": "crypto-square",
"cases": [
{
"uuid": "407c3837-9aa7-4111-ab63-ec54b58e8e9f",
"description": "empty plaintext results in an empty ciphertext",
"property": "ciphertext",
"input": {
"plaintext": ""
},
"expected": ""
},
{
"uuid": "aad04a25-b8bb-4304-888b-581bea8e0040",
"description": "normalization results in empty plaintext",
"property": "ciphertext",
"input": {
"plaintext": "... --- ..."
},
"expected": ""
},
{
"uuid": "64131d65-6fd9-4f58-bdd8-4a2370fb481d",
"description": "Lowercase",
"property": "ciphertext",
"input": {
"plaintext": "A"
},
"expected": "a"
},
{
"uuid": "63a4b0ed-1e3c-41ea-a999-f6f26ba447d6",
"description": "Remove spaces",
"property": "ciphertext",
"input": {
"plaintext": " b "
},
"expected": "b"
},
{
"uuid": "1b5348a1-7893-44c1-8197-42d48d18756c",
"description": "Remove punctuation",
"property": "ciphertext",
"input": {
"plaintext": "@1,%!"
},
"expected": "1"
},
{
"uuid": "8574a1d3-4a08-4cec-a7c7-de93a164f41a",
"description": "9 character plaintext results in 3 chunks of 3 characters",
"property": "ciphertext",
"input": {
"plaintext": "This is fun!"
},
"expected": "tsf hiu isn"
},
{
"uuid": "a65d3fa1-9e09-43f9-bcec-7a672aec3eae",
"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 "
},
{
"uuid": "fbcb0c6d-4c39-4a31-83f6-c473baa6af80",
"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 "
},
{
"uuid": "33fd914e-fa44-445b-8f38-ff8fbc9fe6e6",
"reimplements": "fbcb0c6d-4c39-4a31-83f6-c473baa6af80",
"description": "54 character plaintext results in 8 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 "
}
]
}