  class TestMatrixMultiplicationCost(object):
  
      def test_find_min_cost(self):
          matrix_mult_cost = MatrixMultiplicationCost()
          assert_raises(TypeError, matrix_mult_cost.find_min_cost, None)
          assert_equal(matrix_mult_cost.find_min_cost([]), 0)
          matrices = [Matrix(2, 3),
                      Matrix(3, 6),
                      Matrix(6, 4),
                      Matrix(4, 5)]
          expected_cost = 124
 
</s> remove class TestMatrixMultiplicationCost(object):
 </s> add class TestMatrixMultiplicationCost(unittest.TestCase): </s> remove         assert_equal(matrix_mult_cost.find_min_cost(matrices), expected_cost)
 </s> add         self.assertEqual(matrix_mult_cost.find_min_cost(matrices), expected_cost) </s> remove     "        assert_raises(TypeError, matrix_mult_cost.find_min_cost, None)\n",
    "        assert_equal(matrix_mult_cost.find_min_cost([]), 0)\n",
 </s> add     "        self.assertRaises(TypeError, matrix_mult_cost.find_min_cost, None)\n",
    "        self.assertEqual(matrix_mult_cost.find_min_cost([]), 0)\n", </s> remove     "        assert_raises(TypeError, matrix_mult_cost.find_min_cost, None)\n",
    "        assert_equal(matrix_mult_cost.find_min_cost([]), 0)\n",
 </s> add     "        self.assertRaises(TypeError, matrix_mult_cost.find_min_cost, None)\n",
    "        self.assertEqual(matrix_mult_cost.find_min_cost([]), 0)\n", </s> remove     "        assert_equal(matrix_mult_cost.find_min_cost(matrices), expected_cost)\n",
 </s> add     "        self.assertEqual(matrix_mult_cost.find_min_cost(matrices), expected_cost)\n",
        self.assertRaises(TypeError, matrix_mult_cost.find_min_cost, None)
        self.assertEqual(matrix_mult_cost.find_min_cost([]), 0)
  class TestMatrixMultiplicationCost(object):
  
      def test_find_min_cost(self):
          matrix_mult_cost = MatrixMultiplicationCost()
        self.assertRaises(TypeError, matrix_mult_cost.find_min_cost, None)
        self.assertEqual(matrix_mult_cost.find_min_cost([]), 0)
        self.assertRaises(TypeError, matrix_mult_cost.find_min_cost, None)
        self.assertEqual(matrix_mult_cost.find_min_cost([]), 0)
          matrices = [Matrix(2, 3),
                      Matrix(3, 6),
                      Matrix(6, 4),
                      Matrix(4, 5)]
          expected_cost = 124
keep keep keep keep replace replace keep keep keep keep keep
 #273: Remove nose dependency for recursion_dynamic/ (#280) 
recursion_dynamic/matrix_mult/test_find_min_cost.py