|
3 | 3 | "version": "1.0.0",
|
4 | 4 | "comments": [
|
5 | 5 | "Garden can be created with just a diagram or a diagram and students.",
|
| 6 | + "Students' gardens are assigned in alphabetical order.", |
6 | 7 | "The default students are:",
|
7 | 8 | " Alice, Bob, Charlie, David, Eve, Fred, Ginny, Harriet, Ileana, Joseph, Kincaid, and Larry."
|
8 | 9 | ],
|
|
11 | 12 | "description": "partial garden tests",
|
12 | 13 | "cases": [
|
13 | 14 | {
|
14 |
| - "description": "test Alice's garden", |
| 15 | + "description": "test garden with single student", |
15 | 16 | "property": "plants",
|
16 | 17 | "diagram": "RC\nGG",
|
17 | 18 | "student": "Alice",
|
18 | 19 | "expected": ["radishes", "clover", "grass", "grass"]
|
19 | 20 | },
|
20 | 21 | {
|
21 |
| - "description": "test different garden for Alice", |
| 22 | + "description": "test different garden with single student", |
22 | 23 | "property": "plants",
|
23 | 24 | "diagram": "VC\nRC",
|
24 | 25 | "student": "Alice",
|
25 | 26 | "expected": ["violets", "clover", "radishes", "clover"]
|
26 | 27 | },
|
27 | 28 | {
|
28 |
| - "description": "test Bob's garden", |
| 29 | + "description": "test garden with two students", |
29 | 30 | "property": "plants",
|
30 | 31 | "diagram": "VVCG\nVVRC",
|
31 | 32 | "student": "Bob",
|
32 | 33 | "expected": ["clover", "grass", "radishes", "clover"]
|
33 | 34 | },
|
34 | 35 | {
|
35 |
| - "description": "test Bob and Charlie's garden", |
| 36 | + "description": "test multiple students for the same garden with three students", |
36 | 37 | "cases": [
|
37 | 38 | {
|
38 |
| - "description": "test Bob's garden", |
39 |
| - "diagram": "VVCCGG\nVVCCGG", |
| 39 | + "description": "test second student's garden", |
40 | 40 | "property": "plants",
|
| 41 | + "diagram": "VVCCGG\nVVCCGG", |
41 | 42 | "student": "Bob",
|
42 | 43 | "expected": ["clover", "clover", "clover", "clover"]
|
43 | 44 | },
|
44 | 45 | {
|
45 |
| - "description": "test Charlie's garden", |
46 |
| - "diagram": "VVCCGG\nVVCCGG", |
| 46 | + "description": "test third student's garden", |
47 | 47 | "property": "plants",
|
| 48 | + "diagram": "VVCCGG\nVVCCGG", |
48 | 49 | "student": "Charlie",
|
49 | 50 | "expected": ["grass", "grass", "grass", "grass"]
|
50 | 51 | }
|
|
56 | 57 | "description": "full garden tests",
|
57 | 58 | "cases": [
|
58 | 59 | {
|
59 |
| - "description": "test Alice's garden", |
| 60 | + "description": "test first student's garden", |
60 | 61 | "property": "plants",
|
61 | 62 | "diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV",
|
62 | 63 | "student": "Alice",
|
63 | 64 | "expected": ["violets", "radishes", "violets", "radishes"]
|
64 | 65 | },
|
65 | 66 | {
|
66 |
| - "description": "test Bob's garden", |
67 |
| - "diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV", |
| 67 | + "description": "test second student's garden", |
68 | 68 | "property": "plants",
|
| 69 | + "diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV", |
69 | 70 | "student": "Bob",
|
70 | 71 | "expected": ["clover", "grass", "clover", "clover"]
|
71 | 72 | },
|
72 | 73 | {
|
73 |
| - "description": "test Kincaid's garden", |
74 |
| - "diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV", |
| 74 | + "description": "test second to last student's garden", |
75 | 75 | "property": "plants",
|
| 76 | + "diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV", |
76 | 77 | "student": "Kincaid",
|
77 | 78 | "expected": ["grass", "clover", "clover", "grass"]
|
78 | 79 | },
|
79 | 80 | {
|
80 |
| - "description": "test Larry's garden", |
81 |
| - "diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV", |
| 81 | + "description": "test last student's garden", |
82 | 82 | "property": "plants",
|
| 83 | + "diagram": "VRCGVVRVCGGCCGVRGCVCGCGV\nVRCCCGCRRGVCGCRVVCVGCGCV", |
83 | 84 | "student": "Larry",
|
84 | 85 | "expected": ["grass", "violets", "clover", "violets"]
|
85 | 86 | }
|
86 | 87 | ]
|
87 | 88 | },
|
88 | 89 | {
|
89 |
| - "description": "disordered tests", |
| 90 | + "description": "test with non-alphabetical student list", |
90 | 91 | "cases": [
|
91 | 92 | {
|
92 |
| - "description": "test Patricia's garden", |
| 93 | + "description": "test first student's garden", |
93 | 94 | "property": "plants",
|
94 | 95 | "students": ["Samantha", "Patricia", "Xander", "Roger"],
|
95 |
| - "diagram": ["VCRRGVRG\nRVGCCGCV"], |
| 96 | + "diagram": "VCRRGVRG\nRVGCCGCV", |
96 | 97 | "student": "Patricia",
|
97 | 98 | "expected": ["violets", "clover", "radishes", "violets"]
|
98 | 99 | },
|
99 | 100 | {
|
100 |
| - "description": "test Roger's garden", |
| 101 | + "description": "test second student's garden", |
101 | 102 | "property": "plants",
|
102 | 103 | "students": ["Samantha", "Patricia", "Xander", "Roger"],
|
103 |
| - "diagram": ["VCRRGVRG\nRVGCCGCV"], |
| 104 | + "diagram": "VCRRGVRG\nRVGCCGCV", |
104 | 105 | "student": "Roger",
|
105 | 106 | "expected": ["radishes", "radishes", "grass", "clover"]
|
106 | 107 | },
|
107 | 108 | {
|
108 |
| - "description": "test Samantha's garden", |
| 109 | + "description": "test third student's garden", |
109 | 110 | "property": "plants",
|
110 | 111 | "students": ["Samantha", "Patricia", "Xander", "Roger"],
|
111 |
| - "diagram": ["VCRRGVRG\nRVGCCGCV"], |
| 112 | + "diagram": "VCRRGVRG\nRVGCCGCV", |
112 | 113 | "student": "Samantha",
|
113 | 114 | "expected": ["grass", "violets", "clover", "grass"]
|
114 | 115 | },
|
115 | 116 | {
|
116 |
| - "description": "test Xander's garden", |
| 117 | + "description": "test fourth (last) student's garden", |
117 | 118 | "property": "plants",
|
118 | 119 | "students": ["Samantha", "Patricia", "Xander", "Roger"],
|
119 |
| - "diagram": ["VCRRGVRG\nRVGCCGCV"], |
| 120 | + "diagram": "VCRRGVRG\nRVGCCGCV", |
120 | 121 | "student": "Xander",
|
121 | 122 | "expected": ["radishes", "grass", "clover", "violets"]
|
122 | 123 | }
|
|
0 commit comments