Beispiel #1
0
 def testCoinRow4(self):
     self.assertEqual(lab4.coin_row([100000, 999, 405, 39455, 5969, 2345, 1]), 141800)
Beispiel #2
0
 def testCoinRow3(self):
     self.assertEqual(lab4.coin_row([10,3000,40,7,6,2,100]), 3107)
Beispiel #3
0
 def testCoinRow1(self):
     self.assertEqual(lab4.coin_row([5,1,2,10,6,2]), 17)
Beispiel #4
0
 def testCoinRow2(self):
     self.assertEqual(lab4.coin_row([10,5,5,5,10,50,1,10,1,1,25]), 100)
Beispiel #5
0
 def testCoinRow(self):
     self.assertEqual(lab4.coin_row([]), 0)