def adt6_no_dups(): """Full hash table with only one item in each bucket.""" t = HashTable() t.set_key('aaaaaa', 'bettie') t.set_key('a', 'bettie') t.set_key('apple', 'bob') t.set_key('potato', 'fred') t.set_key('spinach', 'james') t.set_key('sweet potato', 'jenny') return t
def table1key(): """Table with just 1 key/pair.""" t = HashTable() t.set_key('apple', 'chapel') return t