1
1
{
2
2
"exercise" : " say" ,
3
- "version" : " 1.0 .0" ,
3
+ "version" : " 1.1 .0" ,
4
4
"comments" : [
5
5
" Here -1 is used as expected value to indicate that the" ,
6
6
" input value is out of the range described in the exercise."
9
9
{
10
10
"description" : " zero" ,
11
11
"property" : " say" ,
12
- "input" : 0 ,
12
+ "input" : {
13
+ "number" : 0
14
+ },
13
15
"expected" : " zero"
14
16
},
15
17
{
16
18
"description" : " one" ,
17
19
"property" : " say" ,
18
- "input" : 1 ,
20
+ "input" : {
21
+ "number" : 1
22
+ },
19
23
"expected" : " one"
20
24
},
21
25
{
22
26
"description" : " fourteen" ,
23
27
"property" : " say" ,
24
- "input" : 14 ,
28
+ "input" : {
29
+ "number" : 14
30
+ },
25
31
"expected" : " fourteen"
26
32
},
27
33
{
28
34
"description" : " twenty" ,
29
35
"property" : " say" ,
30
- "input" : 20 ,
36
+ "input" : {
37
+ "number" : 20
38
+ },
31
39
"expected" : " twenty"
32
40
},
33
41
{
34
42
"description" : " twenty-two" ,
35
43
"property" : " say" ,
36
- "input" : 22 ,
44
+ "input" : {
45
+ "number" : 22
46
+ },
37
47
"expected" : " twenty-two"
38
48
},
39
49
{
40
50
"description" : " one hundred" ,
41
51
"property" : " say" ,
42
- "input" : 100 ,
52
+ "input" : {
53
+ "number" : 100
54
+ },
43
55
"expected" : " one hundred"
44
56
},
45
57
{
46
58
"description" : " one hundred twenty-three" ,
47
59
"property" : " say" ,
48
- "input" : 123 ,
60
+ "input" : {
61
+ "number" : 123
62
+ },
49
63
"expected" : " one hundred twenty-three"
50
64
},
51
65
{
52
66
"description" : " one thousand" ,
53
67
"property" : " say" ,
54
- "input" : 1000 ,
68
+ "input" : {
69
+ "number" : 1000
70
+ },
55
71
"expected" : " one thousand"
56
72
},
57
73
{
58
74
"description" : " one thousand two hundred thirty-four" ,
59
75
"property" : " say" ,
60
- "input" : 1234 ,
76
+ "input" : {
77
+ "number" : 1234
78
+ },
61
79
"expected" : " one thousand two hundred thirty-four"
62
80
},
63
81
{
64
82
"description" : " one million" ,
65
83
"property" : " say" ,
66
- "input" : 1000000 ,
84
+ "input" : {
85
+ "number" : 1000000
86
+ },
67
87
"expected" : " one million"
68
88
},
69
89
{
70
90
"description" : " one million two thousand three hundred forty-five" ,
71
91
"property" : " say" ,
72
- "input" : 1002345 ,
92
+ "input" : {
93
+ "number" : 1002345
94
+ },
73
95
"expected" : " one million two thousand three hundred forty-five"
74
96
},
75
97
{
76
98
"description" : " one billion" ,
77
99
"property" : " say" ,
78
- "input" : 1000000000 ,
100
+ "input" : {
101
+ "number" : 1000000000
102
+ },
79
103
"expected" : " one billion"
80
104
},
81
105
{
82
106
"description" : " a big number" ,
83
107
"property" : " say" ,
84
- "input" : 987654321123 ,
108
+ "input" : {
109
+ "number" : 987654321123
110
+ },
85
111
"expected" : " nine hundred eighty-seven billion six hundred fifty-four million three hundred twenty-one thousand one hundred twenty-three"
86
112
},
87
113
{
88
114
"description" : " numbers below zero are out of range" ,
89
115
"property" : " say" ,
90
- "input" : -1 ,
116
+ "input" : {
117
+ "number" : -1
118
+ },
91
119
"expected" : -1
92
120
},
93
121
{
94
122
"description" : " numbers above 999,999,999,999 are out of range" ,
95
123
"property" : " say" ,
96
- "input" : 1000000000000 ,
124
+ "input" : {
125
+ "number" : 1000000000000
126
+ },
97
127
"expected" : -1
98
128
}
99
129
]
100
- }
130
+ }
0 commit comments