code: def test_make_covariances(rndstate):
      """Test function for make covariances."""
      n_matrices, n_channels = 5, 4
      X, evals, evecs = make_covariances(
          n_matrices=n_matrices,
          n_channels=n_channels,
          return_params=True,
          rs=rndstate,
      )
      assert X.shape == (
          n_matrices,
          n_channels,
          n_channels,
      )  # X shape mismatch
      assert evals.shape == (
          n_matrices,
          n_channels,
      )  # evals shape mismatch
      assert evecs.shape == (n_channels, n_channels)
  
file_path: pyRiemann/tests/test_simulated.py
imports: import pytest
  import numpy
  from numpy.testing import assert_array_almost_equal
  from pyriemann.datasets.sampling import generate_random_spd_matrix
  from pyriemann.datasets.simulated import make_covariances, make_matrices, make_masks, make_gaussian_blobs, make_outliers
  from pyriemann.utils.test import is_real, is_sym_pos_def, is_sym_pos_semi_def, is_herm_pos_def, is_herm_pos_semi_def
label_desc: Use image node_id 1 for calling a global function with example usage: test_make_covariances(rndstate) without return types