Exemple #1
0
 def test_equals_2(self):
     self.assertEqual(cheapest_quote(5), 0.49)
Exemple #2
0
 def test_equals_10(self):
     self.assertEqual(cheapest_quote(499), 48.06)
Exemple #3
0
 def test_equals(self):
     self.assertEqual(cheapest_quote(1), 0.10)
Exemple #4
0
 def test_equals_8(self):
     self.assertEqual(cheapest_quote(26), 2.52)
Exemple #5
0
 def test_equals_9(self):
     self.assertEqual(cheapest_quote(0), 0.0)
Exemple #6
0
 def test_equals_7(self):
     self.assertEqual(cheapest_quote(80), 7.70)
Exemple #7
0
 def test_equals_6(self):
     self.assertEqual(cheapest_quote(41), 3.95)
Exemple #8
0
 def test_equals_5(self):
     self.assertEqual(cheapest_quote(40), 3.85)
Exemple #9
0
 def test_equals_4(self):
     self.assertEqual(cheapest_quote(20), 1.93)
Exemple #10
0
 def test_equals_3(self):
     self.assertEqual(cheapest_quote(10), 0.97)