      }
     ],
     "source": [
      "%%writefile test_bfs.py\n",
      "from __future__ import print_function\n",
      "from nose.tools import assert_equal\n",
      "\n",
      "\n",
      "class TestBfs(object):\n",
      "\n",
 
</s> remove     "from __future__ import print_function\n",
 </s> add  </s> remove from __future__ import print_function
 </s> add  </s> remove     "    def test_bfs(self):\n",
    "        root = Node(5)\n",
    "        root.insert(2)\n",
    "        root.insert(8)\n",
    "        root.insert(1)\n",
    "        root.insert(3)\n",
 </s> add     "    def __init__(self):\n",
    "        self.results = Results()\n", </s> remove     "%run ../utils/captured_output.py"
 </s> add     "%run ../utils/results.py"
      }
     ],
     "source": [
      "%%writefile test_bfs.py\n",

      "from nose.tools import assert_equal\n",
      "\n",
      "\n",
      "class TestBfs(object):\n",
      "\n",
keep keep keep keep replace keep keep keep keep keep
 Reworked tree bfs unit tests. 
graphs_trees/tree_bfs/bfs_solution.ipynb