      "        assert_equal(heap.array[2], 15)\n",
      "        assert_equal(heap.array[3], 22)\n",
      "        assert_equal(heap.array[4], 40)\n",
      "        heap.insert(3)\n",
      "        assert_equal(heap.array[0], 3)\n",
      "        assert_equal(heap.array[1], 20)\n",
      "        assert_equal(heap.array[2], 5)\n",
      "        assert_equal(heap.array[3], 22)\n",
      "        assert_equal(heap.array[4], 40)\n",
      "        assert_equal(heap.array[5], 15)\n",
      "        mins = []\n",
      "        while heap:\n",
      "            mins.append(heap.extract_min())\n",
      "        assert_equal(mins, [3, 5, 15, 20, 22, 40])\n",
      "        print('Success: test_min_heap')\n",
 
</s> remove     "        assert_equal(heap.array[0], 5)\n",
    "        assert_equal(heap.array[1], 20)\n",
    "        assert_equal(heap.array[2], 15)\n",
    "        assert_equal(heap.array[3], 22)\n",
    "        assert_equal(heap.array[4], 40)\n",
 </s> add     "        self.assertEqual(heap.array[0], 5)\n",
    "        self.assertEqual(heap.array[1], 20)\n",
    "        self.assertEqual(heap.array[2], 15)\n",
    "        self.assertEqual(heap.array[3], 22)\n",
    "        self.assertEqual(heap.array[4], 40)\n", </s> remove     "        assert_equal(mins, [3, 5, 15, 20, 22, 40])\n",
 </s> add     "        self.assertEqual(mins, [3, 5, 15, 20, 22, 40])\n", </s> remove     "        assert_equal(heap.array[0], 5)\n",
    "        assert_equal(heap.array[1], 20)\n",
    "        assert_equal(heap.array[2], 15)\n",
    "        assert_equal(heap.array[3], 22)\n",
 </s> add     "        self.assertEqual(heap.array[0], 5)\n",
    "        self.assertEqual(heap.array[1], 20)\n",
    "        self.assertEqual(heap.array[2], 15)\n",
    "        self.assertEqual(heap.array[3], 22)\n", </s> remove     "        assert_equal(heap.array[0], 5)\n",
    "        assert_equal(heap.array[1], 20)\n",
    "        assert_equal(heap.array[2], 15)\n",
 </s> add     "        self.assertEqual(heap.array[0], 5)\n",
    "        self.assertEqual(heap.array[1], 20)\n",
    "        self.assertEqual(heap.array[2], 15)\n", </s> remove     "        assert_equal(heap.array[0], 5)\n",
    "        assert_equal(heap.array[1], 20)\n",
 </s> add     "        self.assertEqual(heap.array[0], 5)\n",
    "        self.assertEqual(heap.array[1], 20)\n",
    "        self.assertEqual(heap.array[0], 3)\n",
    "        self.assertEqual(heap.array[1], 20)\n",
    "        self.assertEqual(heap.array[2], 5)\n",
    "        self.assertEqual(heap.array[3], 22)\n",
    "        self.assertEqual(heap.array[4], 40)\n",
    "        self.assertEqual(heap.array[5], 15)\n",
      "        assert_equal(heap.array[2], 15)\n",
      "        assert_equal(heap.array[3], 22)\n",
      "        assert_equal(heap.array[4], 40)\n",
      "        heap.insert(3)\n",
    "        self.assertEqual(heap.array[0], 3)\n",
    "        self.assertEqual(heap.array[1], 20)\n",
    "        self.assertEqual(heap.array[2], 5)\n",
    "        self.assertEqual(heap.array[3], 22)\n",
    "        self.assertEqual(heap.array[4], 40)\n",
    "        self.assertEqual(heap.array[5], 15)\n",
    "        self.assertEqual(heap.array[0], 3)\n",
    "        self.assertEqual(heap.array[1], 20)\n",
    "        self.assertEqual(heap.array[2], 5)\n",
    "        self.assertEqual(heap.array[3], 22)\n",
    "        self.assertEqual(heap.array[4], 40)\n",
    "        self.assertEqual(heap.array[5], 15)\n",
    "        self.assertEqual(heap.array[0], 3)\n",
    "        self.assertEqual(heap.array[1], 20)\n",
    "        self.assertEqual(heap.array[2], 5)\n",
    "        self.assertEqual(heap.array[3], 22)\n",
    "        self.assertEqual(heap.array[4], 40)\n",
    "        self.assertEqual(heap.array[5], 15)\n",
    "        self.assertEqual(heap.array[0], 3)\n",
    "        self.assertEqual(heap.array[1], 20)\n",
    "        self.assertEqual(heap.array[2], 5)\n",
    "        self.assertEqual(heap.array[3], 22)\n",
    "        self.assertEqual(heap.array[4], 40)\n",
    "        self.assertEqual(heap.array[5], 15)\n",
    "        self.assertEqual(heap.array[0], 3)\n",
    "        self.assertEqual(heap.array[1], 20)\n",
    "        self.assertEqual(heap.array[2], 5)\n",
    "        self.assertEqual(heap.array[3], 22)\n",
    "        self.assertEqual(heap.array[4], 40)\n",
    "        self.assertEqual(heap.array[5], 15)\n",
    "        self.assertEqual(heap.array[0], 3)\n",
    "        self.assertEqual(heap.array[1], 20)\n",
    "        self.assertEqual(heap.array[2], 5)\n",
    "        self.assertEqual(heap.array[3], 22)\n",
    "        self.assertEqual(heap.array[4], 40)\n",
    "        self.assertEqual(heap.array[5], 15)\n",
      "        mins = []\n",
      "        while heap:\n",
      "            mins.append(heap.extract_min())\n",
      "        assert_equal(mins, [3, 5, 15, 20, 22, 40])\n",
      "        print('Success: test_min_heap')\n",
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 #273: Remove nose dependency for graphs_trees/ (#277) 
graphs_trees/min_heap/min_heap_solution.ipynb