code: def test_median_euclid_1d(n_values, rndstate):
      """Compare geometric Euclidean median to marginal median in 1D"""
      values = 100 * rndstate.randn(n_values)
      np_med = np.median(values)
      py_med = median_euclid(values[..., np.newaxis, np.newaxis])[0, 0]
      assert np_med == approx(py_med)
  
file_path: pyRiemann/tests/test_utils_median.py
imports: import numpy
  import pytest
  from pytest import approx
  from pyriemann.utils.median import median_euclid, median_riemann
label_desc: Use image node_id 5 for calling a global function with example usage: test_median_euclid_1d(n_values, rndstate) without return types