Beispiel #1
0
def test_findKeyNotThere():
    t = Treap()
    t.insert("A")
    assert t.find("B") == False
Beispiel #2
0
def test_removeWithOneOccurence():
    t = Treap()
    t.insert("A")
    t.remove("A")
    assert t.find("A") == False
Beispiel #3
0
def test_findKeyThere():
    t = Treap()
    t.insert("A")
    assert t.find("A")