def test_distance():
    '''
    Tests the computation of the distance of two trajectories
    '''
    input_1 = np.matrix([[0, 1 / 3.], [0, 1.], [3. / 2, 1.]], dtype=np.float32)
    input_3 = np.matrix([[2 / 3., 0], [2 / 3., 2 / 3.], [0, 2 / 3.]], dtype=np.float32)
    output = compute_distance(input_1, input_3)
    assert_allclose(output, 6.18, atol=1e-2)
dataset/ETHPy150Open SALib/SALib/SALib/tests/test_morris_util.py/test_distance/swapped operands of `/`