code: def geodesic_middle(gfun, A, B, Ctrue):
      assert gfun(A, B, 0.5) == approx(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 5 for calling a global function with example usage: geodesic_middle(gfun, A, B, Ctrue) without return types