code: def test_sensitivity_index():
      a = np.array([78, 12, 0.5, 2, 97, 33])
      actual = sensitivity_index(a)
      expected = np.array(
          [0.000276, 0.010195, 0.765743, 0.191436, 0.000179, 0.001490]
      )
      assert_allclose(actual, expected, atol=1e-2, rtol=1e-6)
  
file_path: SALib/tests/test_test_functions.py
imports: from pytest import raises
  from numpy.testing import assert_allclose
  import numpy
  from SALib.test_functions.Sobol_G import evaluate, _total_variance, _partial_first_order_variance, sensitivity_index, total_sensitivity_index
  from SALib import ProblemSpec
label_desc: Use image node_id 8 for calling a global function with example usage: test_sensitivity_index() without return types