CSC 103 Lab Notes Week 6
Testing the Hashing Exercises
-
After completing some or all of the hashing exercises in the
Week 5 lab,
compile your HashTable class with the updated version of
HashTableTest
in the
examples
directory.
-
Compare your testing output results with the output file
HashTableTest.out
in the examples directory.
Attached is a
listing
of the complete HashTable.test program. It is very much like the testing
program that will be used to test your turnin of Assignment 3, with suitable
changes to test the out-of-table chaining implementation instead of the in-
table resolution implementation. Also, the LookupTableTest class will
use InformationRecord in addition to IntEntry for hash table
entries.