private void testClear(BasicHeap <DSInteger> the_heap)
 {
     Assert.AreEqual(false, the_heap.isEmpty());
     Assert.AreEqual(true, the_heap.size() > 0);
     the_heap.clear();
     Assert.AreEqual(true, the_heap.isEmpty());
     Assert.AreEqual(0, the_heap.size());
 }
 /// <summary>
 /// Clears all elements from the queue.
 /// </summary>
 public void clear()
 {
     my_heap.clear();
 }