Пример #1
0
 def test_input8(self):
     input_data = ('i1', 'i2', 'i3', 'i4')
     output = FindMinPrice('input.csv', input_data).get_best_price()
     self.assertEqual(output, ('2', 8.45))
Пример #2
0
 def test_input1(self):
     input_data = ('i1', )
     output = FindMinPrice('input.csv', input_data).get_best_price()
     self.assertEqual(output, ('1', 1.0))
Пример #3
0
 def test_input3(self):
     input_data = ('i2', 'i3')
     output = FindMinPrice('input.csv', input_data).get_best_price()
     self.assertEqual(output, ('1', 4.0))