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)
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)