code: def test_geodesic_wrapper_simple(metric):
      n_channels = 3
      A = 0.5 * np.eye(n_channels)
      if metric == "euclid":
          B = 1.5 * np.eye(n_channels)
      else:
          B = 2.0 * np.eye(n_channels)
      assert geodesic(A, B, 0.5, metric=metric) == approx(
          np.eye(n_channels)
      )
  
file_path: pyRiemann/tests/test_utils_geodesic.py
imports: import numpy
  import pytest
  from pytest import approx
  from pyriemann.utils.geodesic import geodesic, geodesic_euclid, geodesic_logeuclid, geodesic_riemann
  from pyriemann.utils.mean import mean_euclid, mean_logeuclid, mean_riemann
label_desc: Use image node_id 10 for calling a global function with example usage: test_geodesic_wrapper_simple(metric) without return types