code: def test_compute_elementary_effects(morris_data):
      """
      Inputs for elementary effects taken from Exercise 5 from Saltelli (2008).
      See page 140-145.
      `model_inputs` are from trajectory t_1 from table 3.10 on page 141.
      `desired` is equivalent to column t_1 in table 3.12 on page 145.
      """
      model_inputs, model_outputs = morris_data
  
      delta = 2.0 / 3
  
      actual = _compute_elementary_effects(
          model_inputs, model_outputs, 16, delta
      )
      desired = np.array(
          [
              [-5.67],
              [7.18],
              [1.89],
              [8.42],
              [2.93],
              [3.28],
              [-3.62],
              [-7.55],
              [-2.51],
              [5.00],
              [9.34],
              [0.54],
              [5.43],
              [2.15],
              [13.05],
          ],
          dtype=float,
      )
      assert_allclose(actual, desired, atol=1e-1)
  
file_path: SALib/tests/test_analyze_morris.py
imports: from pytest import raises, fixture
  import numpy
  from numpy.testing import assert_allclose, assert_equal
  from SALib.analyze.morris import analyze, _compute_mu_star_confidence, _compute_elementary_effects, _reorganize_output_matrix, _compute_grouped_metric, _compute_grouped_sigma, _check_if_array_of_floats
label_desc: Use image node_id 6 for calling a global function with example usage: test_compute_elementary_effects(morris_data) without return types