code: def test_sobol():
      # Generate inputs
      cmd = f"salib sample saltelli -p {ishigami_fp} -o {input_file} -n 1024\
      --precision 8 --max-order 2 --skip-values 2048"
  
      cmd = cmd.split()
  
      result = subprocess.check_output(cmd, universal_newlines=True)
      np.savetxt(output_file, Ishigami.evaluate(np.loadtxt(input_file)))
  
      analyze_cmd = f"salib analyze sobol -p {ishigami_fp}\
      -Y {output_file} -c 0 --max-order 2\
      -r 1000 --seed=100".split()
  
      result = subprocess.check_output(
          analyze_cmd, universal_newlines=True
      )
      result = re.sub(r"[\n\t\s]*", "", result)
  
      expected_output = "STST_confx10.5579470.085851x20.4421890.041396x30.2414020.028607S1S1_confx10.3105760.059615x20.4436530.053436x3-0.0129620.053891S2S2_conf(x1,x2)-0.0143970.083679(x1,x3)0.2462310.103117(x2,x3)0.0005390.064169"  # noqa: E501
      assert len(result) > 0 and result == expected_output, (
          f"Results did not match expected values:\n\n"
          f" Expected: \n{expected_output} \n\n Got: \n{result}"
      )
  
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 9 for calling a global function with example usage: test_sobol() without return types