docstr: Tests the computation of the distance of two trajectories
docstr_tok: ["Tests","the","computation","of","the","distance","of","two","trajectories"]
code: def test_distance(self, strategy):
      """
      Tests the computation of the distance of two trajectories
      """
      input_1 = np.array(
          [[0, 1 / 3.0], [0, 1.0], [2 / 3.0, 1.0]], dtype=np.float32
      )
      input_3 = np.array(
          [[2 / 3.0, 0], [2 / 3.0, 2 / 3.0], [0, 2 / 3.0]],
          dtype=np.float32,
      )
      output = strategy.compute_distance(input_1, input_3)
      assert_allclose(output, 6.18, atol=1e-2)
  
imports: from SALib.sample.morris import SampleMorris, LocalOptimisation, BruteForce
  from SALib.sample.morris.morris import _sample_morris
  from SALib.util import read_param_file
  import numpy
  from numpy.testing import assert_equal, assert_allclose
  import numpy.random
  import pytest
  from pytest import fixture, raises
label_desc: Use image node_id 5 for calling the TestSharedMethods obj's underlying member method code with example usage: obj.test_distance(strategy) without return types