code: def test_total_sensitivity_index():
      a = np.array([78, 12, 0.5, 2, 97, 33])
  
      actual = total_sensitivity_index(a)
      expected = np.array(
          [
              3.294577e-04,
              1.214324e-02,
              7.959698e-01,
              2.203131e-01,
              2.140966e-04,
              1.778255e-03,
          ]
      )
  
      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 9 for calling a global function with example usage: test_total_sensitivity_index() without return types