def test_increase(self):        
     heap = MaxHeap()
     heap.set_heap([16,14,10,8,7,9,3,2,4,1])
     heap.increase_key(8,15)
     self.assertEqual(heap.heap, [16,15,10,14,7,9,3,2,8,1])
 def test_increase(self):
     heap = MaxHeap()
     heap.set_heap([16, 14, 10, 8, 7, 9, 3, 2, 4, 1])
     heap.increase_key(8, 15)
     self.assertEqual(heap.heap, [16, 15, 10, 14, 7, 9, 3, 2, 8, 1])