code: def test_shgo_simplicial_Alpine02(minimizer_Alpine02):
      """Test SHGO algorithm on Alpine02 function."""
      # sampling_method 'simplicial' fails with iters=1
      out = minimizer_Alpine02.minimize(method="shgo", iters=5)
      out_x = np.array([out.params["x0"].value, out.params["x1"].value])
  
      assert_allclose(out.residual, fglob, rtol=1e-5)
      assert_allclose(min(out_x), min(global_optimum), rtol=1e-3)
      assert_allclose(max(out_x), max(global_optimum), rtol=1e-3)
      assert out.method == "shgo"
  
file_path: lmfit-py/tests/test_shgo.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  import scipy
  import lmfit
label_desc: Use image node_id 5 for calling a global function with example usage: test_shgo_simplicial_Alpine02(minimizer_Alpine02) without return types