-
-
Notifications
You must be signed in to change notification settings - Fork 546
/
canonical-data.json
184 lines (184 loc) · 4.43 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
{
"exercise": "say",
"comments": [
"An 'error' object is used as expected value to indicate that the",
"input value is out of the range described in the exercise."
],
"cases": [
{
"uuid": "5d22a120-ba0c-428c-bd25-8682235d83e8",
"description": "zero",
"property": "say",
"input": {
"number": 0
},
"expected": "zero"
},
{
"uuid": "9b5eed77-dbf6-439d-b920-3f7eb58928f6",
"description": "one",
"property": "say",
"input": {
"number": 1
},
"expected": "one"
},
{
"uuid": "7c499be1-612e-4096-a5e1-43b2f719406d",
"description": "fourteen",
"property": "say",
"input": {
"number": 14
},
"expected": "fourteen"
},
{
"uuid": "f541dd8e-f070-4329-92b4-b7ce2fcf06b4",
"description": "twenty",
"property": "say",
"input": {
"number": 20
},
"expected": "twenty"
},
{
"uuid": "d78601eb-4a84-4bfa-bf0e-665aeb8abe94",
"description": "twenty-two",
"property": "say",
"input": {
"number": 22
},
"expected": "twenty-two"
},
{
"uuid": "f010d4ca-12c9-44e9-803a-27789841adb1",
"description": "thirty",
"property": "say",
"input": {
"number": 30
},
"expected": "thirty"
},
{
"uuid": "738ce12d-ee5c-4dfb-ad26-534753a98327",
"description": "ninety-nine",
"property": "say",
"input": {
"number": 99
},
"expected": "ninety-nine"
},
{
"uuid": "e417d452-129e-4056-bd5b-6eb1df334dce",
"description": "one hundred",
"property": "say",
"input": {
"number": 100
},
"expected": "one hundred"
},
{
"uuid": "d6924f30-80ba-4597-acf6-ea3f16269da8",
"description": "one hundred twenty-three",
"property": "say",
"input": {
"number": 123
},
"expected": "one hundred twenty-three"
},
{
"uuid": "2f061132-54bc-4fd4-b5df-0a3b778959b9",
"description": "two hundred",
"property": "say",
"input": {
"number": 200
},
"expected": "two hundred"
},
{
"uuid": "feed6627-5387-4d38-9692-87c0dbc55c33",
"description": "nine hundred ninety-nine",
"property": "say",
"input": {
"number": 999
},
"expected": "nine hundred ninety-nine"
},
{
"uuid": "3d83da89-a372-46d3-b10d-de0c792432b3",
"description": "one thousand",
"property": "say",
"input": {
"number": 1000
},
"expected": "one thousand"
},
{
"uuid": "865af898-1d5b-495f-8ff0-2f06d3c73709",
"description": "one thousand two hundred thirty-four",
"property": "say",
"input": {
"number": 1234
},
"expected": "one thousand two hundred thirty-four"
},
{
"uuid": "b6a3f442-266e-47a3-835d-7f8a35f6cf7f",
"description": "one million",
"property": "say",
"input": {
"number": 1000000
},
"expected": "one million"
},
{
"uuid": "2cea9303-e77e-4212-b8ff-c39f1978fc70",
"description": "one million two thousand three hundred forty-five",
"property": "say",
"input": {
"number": 1002345
},
"expected": "one million two thousand three hundred forty-five"
},
{
"uuid": "3e240eeb-f564-4b80-9421-db123f66a38f",
"description": "one billion",
"property": "say",
"input": {
"number": 1000000000
},
"expected": "one billion"
},
{
"uuid": "9a43fed1-c875-4710-8286-5065d73b8a9e",
"description": "a big number",
"property": "say",
"input": {
"number": 987654321123
},
"expected": "nine hundred eighty-seven billion six hundred fifty-four million three hundred twenty-one thousand one hundred twenty-three"
},
{
"uuid": "49a6a17b-084e-423e-994d-a87c0ecc05ef",
"description": "numbers below zero are out of range",
"property": "say",
"input": {
"number": -1
},
"expected": {
"error": "input out of range"
}
},
{
"uuid": "4d6492eb-5853-4d16-9d34-b0f61b261fd9",
"description": "numbers above 999,999,999,999 are out of range",
"property": "say",
"input": {
"number": 1000000000000
},
"expected": {
"error": "input out of range"
}
}
]
}