# test if __name__ == '__main__': binary_heap = BinaryHeap(9, 6, 5, 2, 3)
# find_min # will print The minimum data of this Binary Heap is 2 print("The minimum data of this Binary Heap is {0}".format(binary_heap.find_min()))
# delete min binary_heap.delete_min() # will print The minimum data of this Binary Heap is 3 print("The minimum data of this Binary Heap is {0}".format(binary_heap.find_min()))
# insert 1 # will print The minimum data of this Binary Heap is 1 binary_heap.insert(1) print("The minimum data of this Binary Heap is {0}".format(binary_heap.find_min()))
print(binary_heap.is_empty()) # False for i in range(5): binary_heap.delete_min()