-
-
Notifications
You must be signed in to change notification settings - Fork 546
/
Copy pathcanonical-data.json
194 lines (194 loc) · 9.7 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"exercise": "house",
"comments": [
"JSON doesn't allow for multi-line strings, so all verses are presented ",
"here as arrays of strings. It's up to the test generator to join the ",
"lines together with line breaks.",
"Some languages test for the verse() method, which takes a start verse ",
"and optional end verse, but other languages have only tested for the full poem.",
"For those languages in the latter category, you may wish to only ",
"implement the full song test and leave the rest alone, ignoring the startVerse ",
"and endVerse fields."
],
"cases": [
{
"uuid": "28a540ff-f765-4348-9d57-ae33f25f41f2",
"description": "verse one - the house that jack built",
"property": "recite",
"input": {
"startVerse": 1,
"endVerse": 1
},
"expected": ["This is the house that Jack built."]
},
{
"uuid": "ebc825ac-6e2b-4a5e-9afd-95732191c8da",
"description": "verse two - the malt that lay",
"property": "recite",
"input": {
"startVerse": 2,
"endVerse": 2
},
"expected": ["This is the malt that lay in the house that Jack built."]
},
{
"uuid": "1ed8bb0f-edb8-4bd1-b6d4-b64754fe4a60",
"description": "verse three - the rat that ate",
"property": "recite",
"input": {
"startVerse": 3,
"endVerse": 3
},
"expected": [
"This is the rat that ate the malt that lay in the house that Jack built."
]
},
{
"uuid": "64b0954e-8b7d-4d14-aad0-d3f6ce297a30",
"description": "verse four - the cat that killed",
"property": "recite",
"input": {
"startVerse": 4,
"endVerse": 4
},
"expected": [
"This is the cat that killed the rat that ate the malt that lay in the house that Jack built."
]
},
{
"uuid": "1e8d56bc-fe31-424d-9084-61e6111d2c82",
"description": "verse five - the dog that worried",
"property": "recite",
"input": {
"startVerse": 5,
"endVerse": 5
},
"expected": [
"This is the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built."
]
},
{
"uuid": "6312dc6f-ab0a-40c9-8a55-8d4e582beac4",
"description": "verse six - the cow with the crumpled horn",
"property": "recite",
"input": {
"startVerse": 6,
"endVerse": 6
},
"expected": [
"This is the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built."
]
},
{
"uuid": "68f76d18-6e19-4692-819c-5ff6a7f92feb",
"description": "verse seven - the maiden all forlorn",
"property": "recite",
"input": {
"startVerse": 7,
"endVerse": 7
},
"expected": [
"This is the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built."
]
},
{
"uuid": "73872564-2004-4071-b51d-2e4326096747",
"description": "verse eight - the man all tattered and torn",
"property": "recite",
"input": {
"startVerse": 8,
"endVerse": 8
},
"expected": [
"This is the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built."
]
},
{
"uuid": "0d53d743-66cb-4351-a173-82702f3338c9",
"description": "verse nine - the priest all shaven and shorn",
"property": "recite",
"input": {
"startVerse": 9,
"endVerse": 9
},
"expected": [
"This is the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built."
]
},
{
"uuid": "452f24dc-8fd7-4a82-be1a-3b4839cfeb41",
"description": "verse 10 - the rooster that crowed in the morn",
"property": "recite",
"input": {
"startVerse": 10,
"endVerse": 10
},
"expected": [
"This is the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built."
]
},
{
"uuid": "97176f20-2dd3-4646-ac72-cffced91ea26",
"description": "verse 11 - the farmer sowing his corn",
"property": "recite",
"input": {
"startVerse": 11,
"endVerse": 11
},
"expected": [
"This is the farmer sowing his corn that kept the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built."
]
},
{
"uuid": "09824c29-6aad-4dcd-ac98-f61374a6a8b7",
"description": "verse 12 - the horse and the hound and the horn",
"property": "recite",
"input": {
"startVerse": 12,
"endVerse": 12
},
"expected": [
"This is the horse and the hound and the horn that belonged to the farmer sowing his corn that kept the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built."
]
},
{
"uuid": "d2b980d3-7851-49e1-97ab-1524515ec200",
"description": "multiple verses",
"property": "recite",
"input": {
"startVerse": 4,
"endVerse": 8
},
"expected": [
"This is the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built."
]
},
{
"uuid": "0311d1d0-e085-4f23-8ae7-92406fb3e803",
"description": "full rhyme",
"property": "recite",
"input": {
"startVerse": 1,
"endVerse": 12
},
"expected": [
"This is the house that Jack built.",
"This is the malt that lay in the house that Jack built.",
"This is the rat that ate the malt that lay in the house that Jack built.",
"This is the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the farmer sowing his corn that kept the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built.",
"This is the horse and the hound and the horn that belonged to the farmer sowing his corn that kept the rooster that crowed in the morn that woke the priest all shaven and shorn that married the man all tattered and torn that kissed the maiden all forlorn that milked the cow with the crumpled horn that tossed the dog that worried the cat that killed the rat that ate the malt that lay in the house that Jack built."
]
}
]
}