|
|
|
|
1
|
# Part 1.0 - Create `Person` Class
|
1
|
# Part 1.0 - Create `Person` Class
|
2
|
* Create a `Person` class.
|
2
|
* Create a `Person` class.
|
3
|
- * `Person` constructor should have a parameter of type `String` which sets the `name` instance-variable to the respective argument.
|
|
|
|
|
3
|
+ * `Person` constructor should have a parameter of type `String` which sets the `name` instance-variable to the respective value.
|
4
|
* `Person` should have a `getName()` method which returns the `Person` object's `name` variable.
|
4
|
* `Person` should have a `getName()` method which returns the `Person` object's `name` variable.
|
5
|
* `Person` should have a `setName()` method which sets the `Person` object's `name` variable.
|
5
|
* `Person` should have a `setName()` method which sets the `Person` object's `name` variable.
|
6
|
|
6
|
|
|
|
|
|
143
|
-
|
143
|
-
|
144
|
# Part 8.1 - Test `ClassRoom`
|
144
|
# Part 8.1 - Test `ClassRoom`
|
145
|
* Create a `TestClassRoom` class.
|
145
|
* Create a `TestClassRoom` class.
|
146
|
- * Assert that the `HashMapping` returned by `getRoster`, returns a `valueSet` containing each of the `Person` objects in `ZipCodeWilmington`'s `instructorList` and `TechConnect`'s `studentList`.
|
|
|
|
|
146
|
+ * Assert that the `HashMapping` returned by `getRoster`, returns a `valueSet` containing each of the `Person` objects in `ZipCodeWilmington`'s `instructorList` and `TechConnect`'s `studentList`.
|