          self.results = Results()
  
      def test_bfs(self):
          nodes = []
          graph = Graph()
          for id in range(0, 6):
              nodes.append(graph.add_node(id))
          graph.add_edge(0, 1, 5)
          graph.add_edge(0, 4, 3)
          graph.add_edge(0, 5, 2)
 
</s> remove     "        graph = Graph()\n",
 </s> add     "        graph = GraphBfs()\n", </s> remove     "        graph = Graph()\n",
 </s> add     "        graph = GraphBfs()\n", </s> remove         bfs(nodes[0], self.results.add_result)
 </s> add         graph.bfs(nodes[0], self.results.add_result) </s> remove     "        bfs(nodes[0], self.results.add_result)\n",
 </s> add     "        graph.bfs(nodes[0], self.results.add_result)\n", </s> remove     "        bfs(nodes[0], self.results.add_result)\n",
 </s> add     "        graph.bfs(nodes[0], self.results.add_result)\n",
        graph = GraphBfs()
          self.results = Results()
  
      def test_bfs(self):
          nodes = []
        graph = GraphBfs()
          for id in range(0, 6):
              nodes.append(graph.add_node(id))
          graph.add_edge(0, 1, 5)
          graph.add_edge(0, 4, 3)
          graph.add_edge(0, 5, 2)
keep keep keep keep replace keep keep keep keep keep
 Move graph bfs to a class 
graphs_trees/graph_bfs/test_bfs.py