      "class TestCheckBalance(object):\n",
      "\n",
      "    @raises(Exception)\n",
      "    def test_check_balance_empty(self):\n",
      "        check_balance(None)\n",
      "\n",
      "    def test_check_balance(self):\n",
      "        node = Node(5)\n",
      "        assert_equal(check_balance(node), True)\n",
      "\n",
 
</s>
    "        bst = BstBalance(None)\n",
    "        bst.check_balance()\n",
      "class TestCheckBalance(object):\n",
      "\n",
      "    @raises(Exception)\n",
      "    def test_check_balance_empty(self):\n",
    "        bst = BstBalance(None)\n",
    "        bst.check_balance()\n",
      "\n",
      "    def test_check_balance(self):\n",
      "        node = Node(5)\n",
      "        assert_equal(check_balance(node), True)\n",
      "\n",
keep keep keep keep replace keep keep keep keep keep
 Move tree check balance to a class (#99)
graphs_trees/check_balance/check_balance_solution.ipynb