Skip to content

Commit db59104

Browse files
authored
Merge pull request exercism#1207 from sjwarner-bp/kindergarten-garden-update
kindergarten-garden: update test suite to 1.0.0
2 parents 0e067b2 + dc3c9e4 commit db59104

2 files changed

Lines changed: 1 addition & 55 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.0.0

‎exercises/kindergarten-garden/src/test/java/KindergartenGardenTest.java‎

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -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\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-
}
182127
}

0 commit comments

Comments
 (0)