def test_hashset_04():
    try:
        hashset = HashSet()
    except NotImplementedError:
        return True
    hashset.put("entry")
    hashset.put("entry")
    assert len(hashset) == 1
def test_hashset_02():
    try:
        hashset = HashSet()
    except NotImplementedError:
        return True
    entries = [5, 7, "entries", 56, "value", 54., 1000, "t", HashMap(10), ()]
    for i in entries:
        hashset.put(i)
    assert len(hashset) == len(entries)
def test_hashset_03():
    try:
        hashset = HashSet()
    except NotImplementedError:
        return True
    entries = [5, 7, "entries", 56, "value", 54., 1000, "t", HashMap(10), ()]
    for i in entries:
        hashset.put(i)
    output_values = set()
    for i in hashset.values():
        output_values.add(i)
    for i in entries:
        assert i in output_values
def test_hashset_05():
    try:
        hashset = HashSet()
    except NotImplementedError:
        return True
    hashset_2 = HashSet()
    entries = [5, 7, "entries", 56, "value", 54., 1000, "t", HashMap(10), ()]
    for k in entries:
        hashset.put(k)
        hashset_2.put(k)
    hashset_3 = hashset.intersect(hashset_2)
    assert hashset_3 is not hashset
    assert hashset_3 is not hashset_2
    assert len(hashset_3) == len(entries)