-
-
Notifications
You must be signed in to change notification settings - Fork 551
/
Copy pathcanonical-data.json
41 lines (41 loc) · 1.04 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
{
"exercise": "simple-linked-list",
"cases": [
{
"uuid": "3b72d23a-4487-4632-8682-59684c875dd9",
"description": "Convert an array to linked list, and then from linked list back to array",
"property": "fromArrayAndBack",
"input": {
"array": [3, 6, 1]
},
"expected": [3, 6, 1]
},
{
"uuid": "70484949-cf28-4446-af05-e24f5ae8a265",
"description": "Convert from array, reverse the list, and covert to array",
"property": "convertReverseConvertBack",
"input": {
"array": [3, 6, 1]
},
"expected": [1, 6, 3]
},
{
"uuid": "02fb7cdd-ad7f-4d0b-88b7-a3e0ccfcb584",
"description": "Convert empty array",
"property": "fromArrayAndBack",
"input": {
"array": []
},
"expected": []
},
{
"uuid": "410ed9b3-d4cd-4969-bc5e-3909efed65d8",
"description": "Convert and reverse empty array",
"property": "convertReverseConvertBack",
"input": {
"array": []
},
"expected": []
}
]
}