          items.append(Item(label='d', value=9, weight=5))
          total_weight = 8
          expected_value = 13
          results = knapsack.fill_knapsack(items, total_weight)
          assert_equal(results[0].label, 'd')
          assert_equal(results[1].label, 'b')
          total_value = 0
          for item in results:
              total_value += item.value
          assert_equal(total_value, expected_value)
          print('Success: test_knapsack_bottom_up')
 
</s> remove         assert_equal(total_value, expected_value)
 </s> add         self.assertEqual(total_value, expected_value) </s> remove     "        assert_equal(results[0].label, 'd')\n",
    "        assert_equal(results[1].label, 'b')\n",
 </s> add     "        self.assertEqual(results[0].label, 'd')\n",
    "        self.assertEqual(results[1].label, 'b')\n", </s> remove     "        assert_equal(results[0].label, 'd')\n",
    "        assert_equal(results[1].label, 'b')\n",
 </s> add     "        self.assertEqual(results[0].label, 'd')\n",
    "        self.assertEqual(results[1].label, 'b')\n", </s> remove         assert_equal(knapsack.fill_knapsack(items, total_weight), expected_value)
 </s> add         self.assertEqual(knapsack.fill_knapsack(items, total_weight), expected_value) </s> remove         assert_equal(results, expected_value)
 </s> add         self.assertEqual(results, expected_value)
        self.assertEqual(results[0].label, 'd')
        self.assertEqual(results[1].label, 'b')
          items.append(Item(label='d', value=9, weight=5))
          total_weight = 8
          expected_value = 13
          results = knapsack.fill_knapsack(items, total_weight)
        self.assertEqual(results[0].label, 'd')
        self.assertEqual(results[1].label, 'b')
        self.assertEqual(results[0].label, 'd')
        self.assertEqual(results[1].label, 'b')
          total_value = 0
          for item in results:
              total_value += item.value
          assert_equal(total_value, expected_value)
          print('Success: test_knapsack_bottom_up')
keep keep keep keep replace replace keep keep keep keep keep
 #273: Remove nose dependency for recursion_dynamic/ (#280) 
recursion_dynamic/knapsack_01/test_knapsack.py