...
Use the Exercise panel, open the Person.ex file (tests > objectstructures > Person.ex) in the panel before you start the start programming.
Part 1
- Implement the addChild and removeChild methods so the getChildCount and getChild methods work as expected. These methods only handle the children role.
- Implement the setMother and setFather methods so the getMother and getFather methods work as expected. These methods only handle the mother/father roles.
...