docstr: Tests whether the right maximum indices are returned.
docstr_tok: ["Tests","whether","the","right","maximum","indices","are","returned","."]
code: def test_get_max_sum_ind(self):
      """
      Tests whether the right maximum indices are returned.
      """
      strategy = LocalOptimisation()
  
      indices = np.array([(1, 2, 4), (3, 2, 1), (4, 2, 1)])
      distances = np.array([20, 40, 50])
  
      output = strategy.get_max_sum_ind(indices, distances, 0, 0)
      expected = (4, 2, 1)
  
      assert_equal(output, expected)
  
imports: from SALib.sample.morris import SampleMorris, LocalOptimisation, BruteForce
  from SALib.sample.morris.morris import _sample_morris
  from SALib.util import read_param_file
  import numpy
  from numpy.testing import assert_equal, assert_allclose
  import numpy.random
  import pytest
  from pytest import fixture, raises
label_desc: Use image node_id 2 for calling the TestLocalMethods obj's underlying member method code with example usage: obj.test_get_max_sum_ind() without return types