      "class TestMaxProfit(object):\n",
      "\n",
      "    def test_max_profit(self):\n",
      "        stock_trader = StockTrader()\n",
      "        assert_raises(TypeError, stock_trader.find_max_profit, None, None)\n",
      "        assert_equal(stock_trader.find_max_profit(prices=[], k=0), [])\n",
      "        prices = [5, 4, 3, 2, 1]\n",
      "        k = 3\n",
      "        assert_equal(stock_trader.find_max_profit(prices, k), (0, []))\n",
      "        prices = [2, 5, 7, 1, 4, 3, 1, 3]\n",
      "        profit, transactions = stock_trader.find_max_profit(prices, k)\n",
 
</s>
    "        self.assertRaises(TypeError, stock_trader.find_max_profit, None, None)\n",
    "        self.assertEqual(stock_trader.find_max_profit(prices=[], k=0), [])\n",
      "class TestMaxProfit(object):\n",
      "\n",
      "    def test_max_profit(self):\n",
      "        stock_trader = StockTrader()\n",
    "        self.assertRaises(TypeError, stock_trader.find_max_profit, None, None)\n",
    "        self.assertEqual(stock_trader.find_max_profit(prices=[], k=0), [])\n",
    "        self.assertRaises(TypeError, stock_trader.find_max_profit, None, None)\n",
    "        self.assertEqual(stock_trader.find_max_profit(prices=[], k=0), [])\n",
      "        prices = [5, 4, 3, 2, 1]\n",
      "        k = 3\n",
      "        assert_equal(stock_trader.find_max_profit(prices, k), (0, []))\n",
      "        prices = [2, 5, 7, 1, 4, 3, 1, 3]\n",
      "        profit, transactions = stock_trader.find_max_profit(prices, k)\n",
keep keep keep keep replace replace keep keep keep keep keep
 #273: Remove nose dependency for recursion_dynamic/ (#280)
recursion_dynamic/max_profit_k/max_profit_solution.ipynb