Skip to content

Commit fb9d6e1

Browse files
committed
Edit pull request feedback
1 parent fd91d00 commit fb9d6e1

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

exercises/kindergarten-garden/canonical-data.json

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.0",
44
"comments": [
55
"Garden can be created with just a diagram or a diagram and students.",
6+
"Students' gardens are assigned in alphabetical order.",
67
"The default students are:",
78
" Alice, Bob, Charlie, David, Eve, Fred, Ginny, Harriet, Ileana, Joseph, Kincaid, and Larry."
89
],
@@ -11,40 +12,40 @@
1112
"description": "partial garden tests",
1213
"cases": [
1314
{
14-
"description": "test Alice's garden",
15+
"description": "test garden with single student",
1516
"property": "plants",
1617
"diagram": "RC\nGG",
1718
"student": "Alice",
1819
"expected": ["radishes", "clover", "grass", "grass"]
1920
},
2021
{
21-
"description": "test different garden for Alice",
22+
"description": "test different garden with single student",
2223
"property": "plants",
2324
"diagram": "VC\nRC",
2425
"student": "Alice",
2526
"expected": ["violets", "clover", "radishes", "clover"]
2627
},
2728
{
28-
"description": "test Bob's garden",
29+
"description": "test garden with two students",
2930
"property": "plants",
3031
"diagram": "VVCG\nVVRC",
3132
"student": "Bob",
3233
"expected": ["clover", "grass", "radishes", "clover"]
3334
},
3435
{
35-
"description": "test Bob and Charlie's garden",
36+
"description": "test multiple students for the same garden with three students",
3637
"cases": [
3738
{
38-
"description": "test Bob's garden",
39-
"diagram": "VVCCGG\nVVCCGG",
39+
"description": "test second student's garden",
4040
"property": "plants",
41+
"diagram": "VVCCGG\nVVCCGG",
4142
"student": "Bob",
4243
"expected": ["clover", "clover", "clover", "clover"]
4344
},
4445
{
45-
"description": "test Charlie's garden",
46-
"diagram": "VVCCGG\nVVCCGG",
46+
"description": "test third student's garden",
4747
"property": "plants",
48+
"diagram": "VVCCGG\nVVCCGG",
4849
"student": "Charlie",
4950
"expected": ["grass", "grass", "grass", "grass"]
5051
}
@@ -56,67 +57,67 @@
5657
"description": "full garden tests",
5758
"cases": [
5859
{
59-
"description": "test Alice's garden",
60+
"description": "test first student's garden",
6061
"property": "plants",
6162
"diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV",
6263
"student": "Alice",
6364
"expected": ["violets", "radishes", "violets", "radishes"]
6465
},
6566
{
66-
"description": "test Bob's garden",
67-
"diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV",
67+
"description": "test second student's garden",
6868
"property": "plants",
69+
"diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV",
6970
"student": "Bob",
7071
"expected": ["clover", "grass", "clover", "clover"]
7172
},
7273
{
73-
"description": "test Kincaid's garden",
74-
"diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV",
74+
"description": "test second to last student's garden",
7575
"property": "plants",
76+
"diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV",
7677
"student": "Kincaid",
7778
"expected": ["grass", "clover", "clover", "grass"]
7879
},
7980
{
80-
"description": "test Larry's garden",
81-
"diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV",
81+
"description": "test last student's garden",
8282
"property": "plants",
83+
"diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV",
8384
"student": "Larry",
8485
"expected": ["grass", "violets", "clover", "violets"]
8586
}
8687
]
8788
},
8889
{
89-
"description": "disordered tests",
90+
"description": "test with non-alphabetical student list",
9091
"cases": [
9192
{
92-
"description": "test Patricia's garden",
93+
"description": "test first student's garden",
9394
"property": "plants",
9495
"students": ["Samantha", "Patricia", "Xander", "Roger"],
95-
"diagram": ["VCRRGVRG\nRVGCCGCV"],
96+
"diagram": "VCRRGVRG\nRVGCCGCV",
9697
"student": "Patricia",
9798
"expected": ["violets", "clover", "radishes", "violets"]
9899
},
99100
{
100-
"description": "test Roger's garden",
101+
"description": "test second student's garden",
101102
"property": "plants",
102103
"students": ["Samantha", "Patricia", "Xander", "Roger"],
103-
"diagram": ["VCRRGVRG\nRVGCCGCV"],
104+
"diagram": "VCRRGVRG\nRVGCCGCV",
104105
"student": "Roger",
105106
"expected": ["radishes", "radishes", "grass", "clover"]
106107
},
107108
{
108-
"description": "test Samantha's garden",
109+
"description": "test third student's garden",
109110
"property": "plants",
110111
"students": ["Samantha", "Patricia", "Xander", "Roger"],
111-
"diagram": ["VCRRGVRG\nRVGCCGCV"],
112+
"diagram": "VCRRGVRG\nRVGCCGCV",
112113
"student": "Samantha",
113114
"expected": ["grass", "violets", "clover", "grass"]
114115
},
115116
{
116-
"description": "test Xander's garden",
117+
"description": "test fourth (last) student's garden",
117118
"property": "plants",
118119
"students": ["Samantha", "Patricia", "Xander", "Roger"],
119-
"diagram": ["VCRRGVRG\nRVGCCGCV"],
120+
"diagram": "VCRRGVRG\nRVGCCGCV",
120121
"student": "Xander",
121122
"expected": ["radishes", "grass", "clover", "violets"]
122123
}

0 commit comments

Comments
 (0)