     ],
     "source": [
      "from nose.tools import assert_equal\n",
      "\n",
      "\n",
      "class TestQueueFromStacks(object):\n",
      "    \n",
 
</s> remove     "class Test(object):\n",
 </s> add     "\n",
    "class TestQueueFromStacks(object):\n",
    "    \n", </s> remove       "Test: Dequeue on empty stack\n",
      "Test: Enqueue on empty stack\n",
      "Test: Enqueue on non-empty stack\n",
      "Test: Multiple enqueue in a row\n",
      "Test: Dequeue on non-empty stack\n",
      "Test: Dequeue after an enqueue\n",
      "Test: Multiple dequeue in a row\n",
      "Test: Enqueue after a dequeue\n",
      "Success: test_queue_from_stacks\n"
 </s> add       "Overwriting test_queue_from_stacks.py\n" </s> remove     "    test = Test()\n",
    "    test.test_queue_from_stacks()"
 </s> add     "    main()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Test: Dequeue on empty stack\n",
      "Test: Enqueue on empty stack\n",
      "Test: Enqueue on non-empty stack\n",
      "Test: Multiple enqueue in a row\n",
      "Test: Dequeue on non-empty stack\n",
      "Test: Dequeue after an enqueue\n",
      "Test: Multiple dequeue in a row\n",
      "Test: Enqueue after a dequeue\n",
      "Success: test_queue_from_stacks\n"
     ]
    }
   ],
   "source": [
    "%run -i test_queue_from_stacks.py"
    "%%writefile test_queue_from_stacks.py\n",
     ],
     "source": [
    "%%writefile test_queue_from_stacks.py\n",
      "from nose.tools import assert_equal\n",
      "\n",
      "\n",
      "class TestQueueFromStacks(object):\n",
      "    \n",
keep add keep keep keep keep keep
 Added queue from stacks challenge. 
stacks_queues/queue_from_stacks/queue_from_stacks_solution.ipynb