def test_insertions(self): table = SymTable() table.addItem(1,"Joe") assert_equal(table._data[1], "Joe")
def test_retrievals_local(self): table = SymTable() table.addItem(1,"Joe") assert_equal(table.lookup(1), "Joe")