      "    def __init__(self):\n",
      "        self.results = Results()\n",
      "\n",
      "    def test_bfs(self):\n",
      "        node = Node(5)\n",
      "        insert(node, 2)\n",
      "        insert(node, 8)\n",
      "        insert(node, 1)\n",
      "        insert(node, 3)\n",
      "        bfs(node, self.results.add_result)\n",
      "        assert_equal(str(self.results), '[5, 2, 8, 1, 3]')\n",
      "\n",
      "        print('Success: test_bfs')\n",
      "\n",
      "\n",
 
</s>
    "        bst = BstBfs(Node(5))\n",
    "        bst.insert(2)\n",
    "        bst.insert(8)\n",
    "        bst.insert(1)\n",
    "        bst.insert(3)\n",
    "        bst.bfs(self.results.add_result)\n",
      "    def __init__(self):\n",
      "        self.results = Results()\n",
      "\n",
      "    def test_bfs(self):\n",
    "        bst = BstBfs(Node(5))\n",
    "        bst.insert(2)\n",
    "        bst.insert(8)\n",
    "        bst.insert(1)\n",
    "        bst.insert(3)\n",
    "        bst.bfs(self.results.add_result)\n",
    "        bst = BstBfs(Node(5))\n",
    "        bst.insert(2)\n",
    "        bst.insert(8)\n",
    "        bst.insert(1)\n",
    "        bst.insert(3)\n",
    "        bst.bfs(self.results.add_result)\n",
    "        bst = BstBfs(Node(5))\n",
    "        bst.insert(2)\n",
    "        bst.insert(8)\n",
    "        bst.insert(1)\n",
    "        bst.insert(3)\n",
    "        bst.bfs(self.results.add_result)\n",
    "        bst = BstBfs(Node(5))\n",
    "        bst.insert(2)\n",
    "        bst.insert(8)\n",
    "        bst.insert(1)\n",
    "        bst.insert(3)\n",
    "        bst.bfs(self.results.add_result)\n",
    "        bst = BstBfs(Node(5))\n",
    "        bst.insert(2)\n",
    "        bst.insert(8)\n",
    "        bst.insert(1)\n",
    "        bst.insert(3)\n",
    "        bst.bfs(self.results.add_result)\n",
    "        bst = BstBfs(Node(5))\n",
    "        bst.insert(2)\n",
    "        bst.insert(8)\n",
    "        bst.insert(1)\n",
    "        bst.insert(3)\n",
    "        bst.bfs(self.results.add_result)\n",
      "        assert_equal(str(self.results), '[5, 2, 8, 1, 3]')\n",
      "\n",
      "        print('Success: test_bfs')\n",
      "\n",
      "\n",
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 Move tree bfs to a class
graphs_trees/tree_bfs/bfs_solution.ipynb