8.5
Assignment 7: Cyclic data
Goals: Practice working with cyclic data.
Due Date: Thursday, March 16th at 9:00pm
Finish designing all work in the Lab 7: Working with Cyclic Data.
Specifically:
In your ExamplesBuddies class, be sure to have all of the examples we described. When you initialize your data, your method should be called initBuddies, and take in no arguments.
Design the method addBuddy and then make examples of the circle of buddies as given in the lab. Add the tests you wrote for Lab 7: Working with Cyclic Data and add more if needed so that each method is well-tested.
Design the method hasDirectBuddy
Design the method countCommonBuddies
Design the method hasExtendedBuddy
Design the method partyCount