code: def test_make_matrices_return(rndstate, kind, eigvecs_same):
      """Test function for make matrices."""
      n_matrices, n_dim = 5, 4
      X, evals, evecs = make_matrices(
          n_matrices=n_matrices,
          n_dim=n_dim,
          kind=kind,
          return_params=True,
          eigvecs_same=eigvecs_same,
          rs=rndstate,
      )
      assert X.shape == (n_matrices, n_dim, n_dim)
      assert evals.shape == (n_matrices, n_dim)
      if eigvecs_same:
          assert evecs.shape == (n_dim, n_dim)
      else:
          assert evecs.shape == (n_matrices, n_dim, n_dim)
  
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 3 for calling a global function with example usage: test_make_matrices_return(rndstate, kind, eigvecs_same) without return types