          graph.add_edge(2, 1, 6)
          graph.add_edge(3, 2, 7)
          graph.add_edge(3, 4, 8)
  
          assert_equal(path_exists(nodes[0], nodes[2]), True)
          assert_equal(path_exists(nodes[0], nodes[0]), True)
          assert_equal(path_exists(nodes[4], nodes[5]), False)
  
          print('Success: test_path_exists')
  
  
  def main():
 
</s> remove     "        assert_equal(path_exists(nodes[0], nodes[2]), True)\n",
    "        assert_equal(path_exists(nodes[0], nodes[0]), True)\n",
    "        assert_equal(path_exists(nodes[4], nodes[5]), False)\n",
 </s> add     "        assert_equal(graph.path_exists(nodes[0], nodes[2]), True)\n",
    "        assert_equal(graph.path_exists(nodes[0], nodes[0]), True)\n",
    "        assert_equal(graph.path_exists(nodes[4], nodes[5]), False)\n", </s> remove     "        assert_equal(path_exists(nodes[0], nodes[2]), True)\n",
    "        assert_equal(path_exists(nodes[0], nodes[0]), True)\n",
    "        assert_equal(path_exists(nodes[4], nodes[5]), False)\n",
 </s> add     "        assert_equal(graph.path_exists(nodes[0], nodes[2]), True)\n",
    "        assert_equal(graph.path_exists(nodes[0], nodes[0]), True)\n",
    "        assert_equal(graph.path_exists(nodes[4], nodes[5]), False)\n", </s> remove         graph = Graph()
 </s> add         graph = GraphPathExists() </s> remove     "        graph = Graph()\n",
 </s> add     "        graph = GraphPathExists()\n", </s> remove     "        graph = Graph()\n",
 </s> add     "        graph = GraphPathExists()\n",
        assert_equal(graph.path_exists(nodes[0], nodes[2]), True)
        assert_equal(graph.path_exists(nodes[0], nodes[0]), True)
        assert_equal(graph.path_exists(nodes[4], nodes[5]), False)
          graph.add_edge(2, 1, 6)
          graph.add_edge(3, 2, 7)
          graph.add_edge(3, 4, 8)
  
        assert_equal(graph.path_exists(nodes[0], nodes[2]), True)
        assert_equal(graph.path_exists(nodes[0], nodes[0]), True)
        assert_equal(graph.path_exists(nodes[4], nodes[5]), False)
        assert_equal(graph.path_exists(nodes[0], nodes[2]), True)
        assert_equal(graph.path_exists(nodes[0], nodes[0]), True)
        assert_equal(graph.path_exists(nodes[4], nodes[5]), False)
        assert_equal(graph.path_exists(nodes[0], nodes[2]), True)
        assert_equal(graph.path_exists(nodes[0], nodes[0]), True)
        assert_equal(graph.path_exists(nodes[4], nodes[5]), False)
  
          print('Success: test_path_exists')
  
  
  def main():
keep keep keep keep replace replace replace keep keep keep keep keep
 Move graph path exists to a class 
graphs_trees/graph_path_exists/test_path_exists.py