docstr: If the minimum or maximum value appears more than once in the list, return the first one
docstr_tok: ["If","the","minimum","or","maximum","value","appears","more","than","once","in","the","list",",","return","the","first","one"]
code: def testMultipleValues(self):
      """If the minimum or maximum value appears more than once in the list, return the first one"""
      value, index = MinMax()([5, 1, 8, 4, 1, 9, 1])
      self.assertEqual(value, 1.0)
      self.assertEqual(index, 1)
  
      value, index = MinMax(type="max")([9, 6, 5, 9, 8, 4, 9])
      self.assertEqual(value, 9.0)
      self.assertEqual(index, 0)
  
file_path: essentia/test/src/unittests/stats/test_minmax.py
imports: from essentia.standard import MinMax
  from essentia_test import TestCase, TextTestRunner, allTests
label_desc: Use image node_id 4 for calling the TestMinMax obj's underlying member method code with example usage: obj.testMultipleValues() without return types