コード例 #1
0
def test_hashIdx_in_range():
    ht = HashTable()
    assert 0 <= ht._getHashIndex(ht._makeHash('eggs')) < len(ht._data)