code: def test_delta():
      cmd = f"salib sample saltelli -p {ishigami_fp} -o {input_file} -n 1024 \
      --precision 8 --max-order 2 --skip-values 2048"
      subprocess.run(cmd.split())
  
      # Run model and save output
      np.savetxt(output_file, Ishigami.evaluate(np.loadtxt(input_file)))
  
      analyze_cmd = f"salib analyze delta -p {ishigami_fp} -X {input_file} \
      -Y {output_file} -c 0 -r 10 --seed=100".split()
  
      result = subprocess.check_output(
          analyze_cmd, universal_newlines=True
      )
  
      delta_expected = [0.228979, 0.347744, 0.163172]
      sobol_expected = [0.313794, 0.433776, 0.005120]
  
      test = pd.read_csv(StringIO(result), index_col=0, sep=r"\s+")
      test["expected"] = delta_expected
  
      lower = test["delta"] - test["delta_conf"]
      upper = test["delta"] + test["delta_conf"]
      comparison = test["expected"].between(lower, upper)
      assert comparison.all(), (
          "Expected Delta results not within confidence bounds\n"
          f"+\\-: \n{test['delta_conf']}\n"
          f"Expected: {delta_expected}\n"
          f"Got: {test['delta']}\n"
      )
  
      test["expected"] = sobol_expected
      lower = test["S1"] - test["S1_conf"]
      upper = test["S1"] + test["S1_conf"]
      comparison = test["expected"].between(lower, upper)
      assert comparison.all(), (
          "Expected Sobol results not within confidence bounds\n"
          f"+\\-: \n{test['S1_conf']}\n"
          f"Expected: {sobol_expected}\n"
          f"Got: {test['S1']}\n"
      )
  
file_path: SALib/tests/test_cli_analyze.py
imports: import subprocess
  from SALib.test_functions import Ishigami
  import numpy
  import pandas
  from io import StringIO
  import re
  import os
  from os.path import join
label_desc: Use image node_id 2 for calling a global function with example usage: test_delta() without return types