code: def test_geodesic_all_simple(gfun):
      n_channels = 3
      if gfun is geodesic_euclid:
          A = 1.0 * np.eye(n_channels)
          B = 2.0 * np.eye(n_channels)
          Ctrue = 1.5 * np.eye(n_channels)
      else:
          A = 0.5 * np.eye(n_channels)
          B = 2 * np.eye(n_channels)
          Ctrue = np.eye(n_channels)
      geodesic_0(gfun, A, B)
      geodesic_1(gfun, A, B)
      geodesic_middle(gfun, A, B, Ctrue)
  
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 6 for calling a global function with example usage: test_geodesic_all_simple(gfun) without return types