def test_findKeyNotThere(): t = Treap() t.insert("A") assert t.find("B") == False
def test_removeWithOneOccurence(): t = Treap() t.insert("A") t.remove("A") assert t.find("A") == False
def test_findKeyThere(): t = Treap() t.insert("A") assert t.find("A")