     ],
     "source": [
      "from nose.tools import assert_equal\n",
      "\n",
      "class Test(object):\n",
      "    def test_set_of_stacks(self):\n",
      "        print('Test: Push on an empty stack')\n",
      "        capacity = 2\n",
      "        stacks = SetOfStacks(capacity)\n",
      "        stacks.push(3)\n",
 
</s> remove       "Test: Push on an empty stack\n",
      "Test: Push on a non-empty stack\n",
      "Test: Push on a capacity stack to create a new one\n",
      "Test: Pop on a one element stack to destroy it\n",
      "Test: Pop general case\n",
      "Test: Pop on no elements\n",
      "Success: test_set_of_stacks\n"
 </s> add       "Overwriting test_set_of_stacks.py\n" </s> remove     "    test = Test()\n",
    "    test.test_set_of_stacks()"
 </s> add     "    main()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Test: Push on an empty stack\n",
      "Test: Push on a non-empty stack\n",
      "Test: Push on a capacity stack to create a new one\n",
      "Test: Pop on a one element stack to destroy it\n",
      "Test: Pop general case\n",
      "Test: Pop on no elements\n",
      "Success: test_set_of_stacks\n"
     ]
    }
   ],
   "source": [
    "%run -i test_set_of_stacks.py"
    "\n",
    "class TestSetOfStacks(object):\n",
    "    \n",
     ],
     "source": [
      "from nose.tools import assert_equal\n",
      "\n",
    "\n",
    "class TestSetOfStacks(object):\n",
    "    \n",
      "    def test_set_of_stacks(self):\n",
      "        print('Test: Push on an empty stack')\n",
      "        capacity = 2\n",
      "        stacks = SetOfStacks(capacity)\n",
      "        stacks.push(3)\n",
keep keep keep keep replace keep keep keep keep keep
 Added set of stacks challenge. 
stacks_queues/set_of_stacks/set_of_stacks_solution.ipynb