          items.append(Item(label='c', value=6, weight=4))
          items.append(Item(label='d', value=9, weight=5))
          total_weight = 8
          expected_value = 13
          assert_equal(knapsack.fill_knapsack(items, total_weight), expected_value)
          print('Success: test_knapsack_top_down')
  
  def main():
      test = TestKnapsack()
      test.test_knapsack_bottom_up()
 
</s> remove     "        assert_equal(knapsack.fill_knapsack(items, total_weight), expected_value)\n",
 </s> add     "        self.assertEqual(knapsack.fill_knapsack(items, total_weight), expected_value)\n", </s> remove     "        assert_equal(knapsack.fill_knapsack(items, total_weight), expected_value)\n",
 </s> add     "        self.assertEqual(knapsack.fill_knapsack(items, total_weight), expected_value)\n", </s> remove         assert_equal(results[0].label, 'd')
        assert_equal(results[1].label, 'b')
 </s> add         self.assertEqual(results[0].label, 'd')
        self.assertEqual(results[1].label, 'b') </s> remove         assert_equal(results, expected_value)
 </s> add         self.assertEqual(results, expected_value) </s> remove         assert_raises(TypeError, knapsack.fill_knapsack, None, None)
        assert_equal(knapsack.fill_knapsack(0, 0), 0)
 </s> add         self.assertRaises(TypeError, knapsack.fill_knapsack, None, None)
        self.assertEqual(knapsack.fill_knapsack(0, 0), 0)
        self.assertEqual(knapsack.fill_knapsack(items, total_weight), expected_value)
          items.append(Item(label='c', value=6, weight=4))
          items.append(Item(label='d', value=9, weight=5))
          total_weight = 8
          expected_value = 13
        self.assertEqual(knapsack.fill_knapsack(items, total_weight), expected_value)
          print('Success: test_knapsack_top_down')
  
  def main():
      test = TestKnapsack()
      test.test_knapsack_bottom_up()
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for recursion_dynamic/ (#280) 
recursion_dynamic/knapsack_01/test_knapsack.py