Exemple #1
0
 def testCoinRowVal4(self):
     self.assertEqual(lab4.coin_row_with_values([100000, 999, 405, 39455, 5969, 2345, 1]), [141800, [100000, 39455, 2345]])
Exemple #2
0
 def testCoinRowVal3(self):
     self.assertEqual(lab4.coin_row_with_values([10,3000,40,7,6,2,100]), [3107, [3000,7,100]])
Exemple #3
0
 def testCoinRowVal1(self):
     self.assertEqual(lab4.coin_row_with_values([5,1,2,10,6,2]), [17, [5,10,2]])
Exemple #4
0
 def testCoinRowVal2(self):
     self.assertEqual(lab4.coin_row_with_values([10,5,5,5,10,50,1,10,1,1,25]), [100, [10,5,50,10,25]])
Exemple #5
0
 def testCoinRowVal(self):
     self.assertEqual(lab4.coin_row_with_values([]), [0, []])