Przeglądaj źródła

kindergarten-garden: update test suite to 1.0.0

Samuel Warner 8 lat temu
rodzic
commit
dc3c9e4607

+ 1
- 0
exercises/kindergarten-garden/.meta/version Wyświetl plik

@@ -0,0 +1 @@
1
+1.0.0

+ 0
- 55
exercises/kindergarten-garden/src/test/java/KindergartenGardenTest.java Wyświetl plik

@@ -124,59 +124,4 @@ public class KindergartenGardenTest {
124 124
         );
125 125
     }
126 126
 
127
-    @Ignore("Remove to run test")
128
-    @Test
129
-    public void customStudentGardenFirstStudentInAlphabeticalOrder() {
130
-        String[] studentArray = {"Samantha", "Patricia", "Xander", "Roger"};
131
-        String student = "Patricia";
132
-        String plants = "VCRRGVRG\nRVGCCGCV";
133
-        List<Plant> expected = Arrays.asList(Plant.VIOLETS, Plant.CLOVER, Plant.RADISHES, Plant.VIOLETS);
134
-
135
-        assertEquals(
136
-            expected,
137
-            new KindergartenGarden(plants, studentArray).getPlantsOfStudent(student)
138
-        );
139
-    }
140
-
141
-    @Ignore("Remove to run test")
142
-    @Test
143
-    public void customStudentGardenSecondStudentInAlphabeticalOrder() {
144
-        String[] studentArray = {"Samantha", "Patricia", "Xander", "Roger"};
145
-        String student = "Roger";
146
-        String plants = "VCRRGVRG\nRVGCCGCV";
147
-        List<Plant> expected = Arrays.asList(Plant.RADISHES, Plant.RADISHES, Plant.GRASS, Plant.CLOVER);
148
-
149
-        assertEquals(
150
-            expected,
151
-            new KindergartenGarden(plants, studentArray).getPlantsOfStudent(student)
152
-        );
153
-    }
154
-
155
-    @Ignore("Remove to run test")
156
-    @Test
157
-    public void customStudentGardenThirdStudentInAlphabeticalOrder() {
158
-        String[] studentArray = {"Samantha", "Patricia", "Xander", "Roger"};
159
-        String student = "Samantha";
160
-        String plants = "VCRRGVRG\nRVGCCGCV";
161
-        List<Plant> expected = Arrays.asList(Plant.GRASS, Plant.VIOLETS, Plant.CLOVER, Plant.GRASS);
162
-
163
-        assertEquals(
164
-            expected,
165
-            new KindergartenGarden(plants, studentArray).getPlantsOfStudent(student)
166
-        );
167
-    }
168
-
169
-    @Ignore("Remove to run test")
170
-    @Test
171
-    public void customStudentGardenFourthStudentInAlphabeticalOrder() {
172
-        String[] studentArray = {"Samantha", "Patricia", "Xander", "Roger"};
173
-        String student = "Xander";
174
-        String plants = "VCRRGVRG\nRVGCCGCV";
175
-        List<Plant> expected = Arrays.asList(Plant.RADISHES, Plant.GRASS, Plant.CLOVER, Plant.VIOLETS);
176
-
177
-        assertEquals(
178
-            expected,
179
-            new KindergartenGarden(plants, studentArray).getPlantsOfStudent(student)
180
-        );
181
-    }
182 127
 }