@@ -124,59 +124,4 @@ public void fullGardenLastStudent() {
124124 );
125125 }
126126
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\n RVGCCGCV" ;
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\n RVGCCGCV" ;
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\n RVGCCGCV" ;
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\n RVGCCGCV" ;
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- }
182127}
0 commit comments