|
CISC 2200 Project 2
|
CISC 2200: Data Structures
Project 2: Extending the Bag ADT
This program tests the VectorBag class. It is a modification of the program given in Section 3.2 of the text, which tests the ArrayBag class.
In addition to testing the operations that VectorBag implements from the abstract BagInterface class, it tests the set-like operations of union, intersection, and difference.
(Based on Exercises 1.6-1.8, along with Programming Problem 3.5.)
1.8.14