Пример #1
0
 def test_min_max_indexes(self):
     val = ['b', 'a', 'm', 'z', 'y']
     min_ind, max_ind = min_max_indexes(val)
     self.assertEqual(min_ind, 1)
     self.assertEqual(max_ind, 3)
Пример #2
0
 def test_min_max_indexes(self):
     val = ['b', 'a', 'm', 'z', 'y']
     min_ind, max_ind = min_max_indexes(val)
     self.assertEqual(min_ind, 1)
     self.assertEqual(max_ind, 3)
Пример #3
0
 def test_min_max_indexes(self):
     val = ["b", "a", "m", "z", "y"]
     min_ind, max_ind = min_max_indexes(val)
     self.assertEqual(min_ind, 1)
     self.assertEqual(max_ind, 3)