Skip to content

Commit dca364c

Browse files
state-of-tic-tac-toe: unique descriptions for test cases (#2019)
`state-of-tic-tac-toe`: unique descriptions for test cases Co-authored-by: Peter Tseng <[email protected]>
1 parent f830544 commit dca364c

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

exercises/state-of-tic-tac-toe/canonical-data.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"cases": [
77
{
88
"uuid": "fe8e9fa9-37af-4d7e-aa24-2f4b8517161a",
9-
"description": "Finished game where X won via column victory",
9+
"description": "Finished game where X won via left column victory",
1010
"property": "gamestate",
1111
"input": {
1212
"board": [
@@ -19,7 +19,7 @@
1919
},
2020
{
2121
"uuid": "96c30df5-ae23-4cf6-bf09-5ef056dddea1",
22-
"description": "Finished game where X won via column victory",
22+
"description": "Finished game where X won via middle column victory",
2323
"property": "gamestate",
2424
"input": {
2525
"board": [
@@ -32,7 +32,7 @@
3232
},
3333
{
3434
"uuid": "0d7a4b0a-2afd-4a75-8389-5fb88ab05eda",
35-
"description": "Finished game where X won via column victory",
35+
"description": "Finished game where X won via right column victory",
3636
"property": "gamestate",
3737
"input": {
3838
"board": [
@@ -45,7 +45,7 @@
4545
},
4646
{
4747
"uuid": "bd1007c0-ec5d-4c60-bb9f-1a4f22177d51",
48-
"description": "Finished game where O won via column victory",
48+
"description": "Finished game where O won via left column victory",
4949
"property": "gamestate",
5050
"input": {
5151
"board": [
@@ -58,7 +58,7 @@
5858
},
5959
{
6060
"uuid": "c032f800-5735-4354-b1b9-46f14d4ee955",
61-
"description": "Finished game where O won via column victory",
61+
"description": "Finished game where O won via middle column victory",
6262
"property": "gamestate",
6363
"input": {
6464
"board": [
@@ -71,7 +71,7 @@
7171
},
7272
{
7373
"uuid": "662c8902-c94a-4c4c-9d9c-e8ca513db2b4",
74-
"description": "Finished game where O won via column victory",
74+
"description": "Finished game where O won via right column victory",
7575
"property": "gamestate",
7676
"input": {
7777
"board": [
@@ -84,7 +84,7 @@
8484
},
8585
{
8686
"uuid": "2d62121f-7e3a-44a0-9032-0d73e3494941",
87-
"description": "Finished game where X won via row victory",
87+
"description": "Finished game where X won via top row victory",
8888
"property": "gamestate",
8989
"input": {
9090
"board": [
@@ -97,7 +97,7 @@
9797
},
9898
{
9999
"uuid": "108a5e82-cc61-409f-aece-d7a18c1beceb",
100-
"description": "Finished game where X won via row victory",
100+
"description": "Finished game where X won via middle row victory",
101101
"property": "gamestate",
102102
"input": {
103103
"board": [
@@ -110,7 +110,7 @@
110110
},
111111
{
112112
"uuid": "a013c583-75f8-4ab2-8d68-57688ff04574",
113-
"description": "Finished game where X won via row victory",
113+
"description": "Finished game where X won via bottom row victory",
114114
"property": "gamestate",
115115
"input": {
116116
"board": [
@@ -123,7 +123,7 @@
123123
},
124124
{
125125
"uuid": "2c08e7d7-7d00-487f-9442-e7398c8f1727",
126-
"description": "Finished game where O won via row victory",
126+
"description": "Finished game where O won via top row victory",
127127
"property": "gamestate",
128128
"input": {
129129
"board": [
@@ -136,7 +136,7 @@
136136
},
137137
{
138138
"uuid": "bb1d6c62-3e3f-4d1a-9766-f8803c8ed70f",
139-
"description": "Finished game where O won via row victory",
139+
"description": "Finished game where O won via middle row victory",
140140
"property": "gamestate",
141141
"input": {
142142
"board": [
@@ -149,7 +149,7 @@
149149
},
150150
{
151151
"uuid": "6ef641e9-12ec-44f5-a21c-660ea93907af",
152-
"description": "Finished game where O won via row victory",
152+
"description": "Finished game where O won via bottom row victory",
153153
"property": "gamestate",
154154
"input": {
155155
"board": [
@@ -162,7 +162,7 @@
162162
},
163163
{
164164
"uuid": "ab145b7b-26a7-426c-ab71-bf418cd07f81",
165-
"description": "Finished game where X won via diagonal victory",
165+
"description": "Finished game where X won via falling diagonal victory",
166166
"property": "gamestate",
167167
"input": {
168168
"board": [
@@ -175,7 +175,7 @@
175175
},
176176
{
177177
"uuid": "7450caab-08f5-4f03-a74b-99b98c4b7a4b",
178-
"description": "Finished game where X won via diagonal victory",
178+
"description": "Finished game where X won via rising diagonal victory",
179179
"property": "gamestate",
180180
"input": {
181181
"board": [
@@ -188,7 +188,7 @@
188188
},
189189
{
190190
"uuid": "c2a652ee-2f93-48aa-a710-a70cd2edce61",
191-
"description": "Finished game where O won via diagonal victory",
191+
"description": "Finished game where O won via falling diagonal victory",
192192
"property": "gamestate",
193193
"input": {
194194
"board": [
@@ -201,7 +201,7 @@
201201
},
202202
{
203203
"uuid": "5b20ceea-494d-4f0c-a986-b99efc163bcf",
204-
"description": "Finished game where O won via diagonal victory",
204+
"description": "Finished game where O won via rising diagonal victory",
205205
"property": "gamestate",
206206
"input": {
207207
"board": [
@@ -258,7 +258,7 @@
258258
},
259259
{
260260
"uuid": "227a76b2-0fef-4e16-a4bd-8f9d7e4c3b13",
261-
"description": "Draw",
261+
"description": "Another draw",
262262
"property": "gamestate",
263263
"input": {
264264
"board": [
@@ -276,7 +276,7 @@
276276
"cases": [
277277
{
278278
"uuid": "4d93f15c-0c40-43d6-b966-418b040012a9",
279-
"description": "Ongoing game",
279+
"description": "Ongoing game: one move in",
280280
"property": "gamestate",
281281
"input": {
282282
"board": [
@@ -289,7 +289,7 @@
289289
},
290290
{
291291
"uuid": "c407ae32-4c44-4989-b124-2890cf531f19",
292-
"description": "Ongoing game",
292+
"description": "Ongoing game: two moves in",
293293
"property": "gamestate",
294294
"input": {
295295
"board": [
@@ -302,7 +302,7 @@
302302
},
303303
{
304304
"uuid": "199b7a8d-e2b6-4526-a85e-78b416e7a8a9",
305-
"description": "Ongoing game",
305+
"description": "Ongoing game: five moves in",
306306
"property": "gamestate",
307307
"input": {
308308
"board": [
@@ -320,7 +320,7 @@
320320
"cases": [
321321
{
322322
"uuid": "1670145b-1e3d-4269-a7eb-53cd327b302e",
323-
"description": "Invalid board",
323+
"description": "Invalid board: X went twice",
324324
"property": "gamestate",
325325
"input": {
326326
"board": [
@@ -335,7 +335,7 @@
335335
},
336336
{
337337
"uuid": "47c048e8-b404-4bcf-9e51-8acbb3253f3b",
338-
"description": "Invalid board",
338+
"description": "Invalid board: O started",
339339
"property": "gamestate",
340340
"input": {
341341
"board": [

0 commit comments

Comments
 (0)