code: def test_set_to_array_output_shape(self, space, points):
      self.assertTrue(space.set_to_array(points).shape == points.shape)
  
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 2 for calling the TestGraphSpace obj's underlying member method code with example usage: obj.test_set_to_array_output_shape(space, points) without return types