code: def test_dim(n, expected):
      space = SymmetricMatrices(n, equip=False)
      assert space.dim == expected
  
file_path: geomstats/tests/tests_geomstats/test_geometry/test_symmetric_matrices.py
imports: import random
  import pytest
  from geomstats.geometry.symmetric_matrices import SymmetricMatrices
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test_cases.geometry.base import MatrixVectorSpaceTestCase
  from geomstats.test_cases.geometry.matrices import MatricesMetricTestCase
  from .data.matrices import MatricesMetricTestData
  from .data.symmetric_matrices import SymmetricMatrices1TestData, SymmetricMatrices2TestData, SymmetricMatrices3TestData, SymmetricMatricesTestData
label_desc: Use image node_id 2 for calling a global function with example usage: test_dim(n, expected) without return types