Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Extend the methods to handle consistency. Test by creating the same Person object structures as in part 1, this time by only using addChild and by only using setMother and setFather. Also run the JUnit tests for this programming task.

Test code for this task can be found here: objectstructures/PersonTest.java. The original jextest code can be found here: objectstructures/Person.jextest.

...