code: def test_random_point_output_shape(self, space, n_samples):
      pts = space.random_point(n_samples)
      if n_samples == 1:
          self.assertTrue(pts.ndim == 2)
      else:
          self.assertTrue(pts.ndim == 3)
          self.assertTrue(pts.shape[0] == n_samples)
  
imports: import networkx
  import pytest
  import geomstats.backend
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test.test_case import TestCase
  from geomstats.test_cases.geometry.stratified.point_set import PointSetMetricTestCase, PointSetTestCase, PointTestCase
  from .data.graph_space import AlignerTestData, DecoratorsTestData, GraphSpaceMetricTestData, GraphSpaceTestData, GraphTestData, PointToGeodesicAlignerTestData
label_desc: Use image node_id 1 for calling the TestGraphSpace obj's underlying member method code with example usage: obj.test_random_point_output_shape(space, n_samples) without return types