code: def test_set_to_array_output_shape(self, space, points):
      n = len(points) if type(points) is list else 1
      self.assertTrue(space.set_to_array(points).shape[0] == n)
  
imports: from collections.abc import Iterable
  import geomstats.backend
  from geomstats.test.test_case import TestCase
label_desc: Use image node_id 5 for calling the PointSetTestCase obj's underlying member method code with example usage: obj.test_set_to_array_output_shape(space, points) without return types