Skip to content

Commit a5da711

Browse files
authored
Wordy: add "What is 0?", "What is -123?" and addition with 0. (#2573)
1 parent b5a65c2 commit a5da711

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

exercises/wordy/canonical-data.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,24 @@
1515
},
1616
"expected": 5
1717
},
18+
{
19+
"uuid": "18983214-1dfc-4ebd-ac77-c110dde699ce",
20+
"description": "just a zero",
21+
"property": "answer",
22+
"input": {
23+
"question": "What is 0?"
24+
},
25+
"expected": 0
26+
},
27+
{
28+
"uuid": "607c08ee-2241-4288-916d-dae5455c87e6",
29+
"description": "just a negative number",
30+
"property": "answer",
31+
"input": {
32+
"question": "What is -123?"
33+
},
34+
"expected": -123
35+
},
1836
{
1937
"uuid": "bb8c655c-cf42-4dfc-90e0-152fcfd8d4e0",
2038
"description": "addition",
@@ -24,6 +42,24 @@
2442
},
2543
"expected": 2
2644
},
45+
{
46+
"uuid": "bb9f2082-171c-46ad-ad4e-c3f72087c1b5",
47+
"description": "addition with a left hand zero",
48+
"property": "answer",
49+
"input": {
50+
"question": "What is 0 plus 2?"
51+
},
52+
"expected": 2
53+
},
54+
{
55+
"uuid": "6fa05f17-405a-4742-80ae-5d1a8edb0d5d",
56+
"description": "addition with a right hand zero",
57+
"property": "answer",
58+
"input": {
59+
"question": "What is 3 plus 0?"
60+
},
61+
"expected": 3
62+
},
2763
{
2864
"uuid": "79e49e06-c5ae-40aa-a352-7a3a01f70015",
2965
"description": "more addition",

0 commit comments

Comments
 (0)