|
|
@@ -112,7 +112,7 @@ public class KindergartenGardenTest {
|
|
112
|
112
|
Plant[] expected = {Plant.VIOLETS, Plant.CLOVER, Plant.RADISHES, Plant.VIOLETS};
|
|
113
|
113
|
|
|
114
|
114
|
assertEquals(expected,
|
|
115
|
|
- new KindergartenGarden(plants).getPlantsOfStudent(student));
|
|
|
115
|
+ new KindergartenGarden(plants, studentArray).getPlantsOfStudent(student));
|
|
116
|
116
|
}
|
|
117
|
117
|
|
|
118
|
118
|
@Ignore("Remove to run test")
|
|
|
@@ -124,7 +124,7 @@ public class KindergartenGardenTest {
|
|
124
|
124
|
Plant[] expected = {Plant.RADISHES, Plant.RADISHES, Plant.GRASS, Plant.CLOVER};
|
|
125
|
125
|
|
|
126
|
126
|
assertEquals(expected,
|
|
127
|
|
- new KindergartenGarden(plants).getPlantsOfStudent(student));
|
|
|
127
|
+ new KindergartenGarden(plants, studentArray).getPlantsOfStudent(student));
|
|
128
|
128
|
}
|
|
129
|
129
|
|
|
130
|
130
|
@Ignore("Remove to run test")
|
|
|
@@ -136,7 +136,7 @@ public class KindergartenGardenTest {
|
|
136
|
136
|
Plant[] expected = {Plant.GRASS, Plant.VIOLETS, Plant.CLOVER, Plant.GRASS};
|
|
137
|
137
|
|
|
138
|
138
|
assertEquals(expected,
|
|
139
|
|
- new KindergartenGarden(plants).getPlantsOfStudent(student));
|
|
|
139
|
+ new KindergartenGarden(plants, studentArray).getPlantsOfStudent(student));
|
|
140
|
140
|
}
|
|
141
|
141
|
|
|
142
|
142
|
@Ignore("Remove to run test")
|
|
|
@@ -148,6 +148,6 @@ public class KindergartenGardenTest {
|
|
148
|
148
|
Plant[] expected = {Plant.RADISHES, Plant.GRASS, Plant.CLOVER, Plant.VIOLETS};
|
|
149
|
149
|
|
|
150
|
150
|
assertEquals(expected,
|
|
151
|
|
- new KindergartenGarden(plants).getPlantsOfStudent(student));
|
|
|
151
|
+ new KindergartenGarden(plants, studentArray).getPlantsOfStudent(student));
|
|
152
|
152
|
}
|
|
153
|
153
|
}
|