code: def test_vectorize_graph(self, fnc, points):
      gs_array_type = type(gs.array([0]))
      vec_points = fnc(points)
  
      self.assertTrue(type(vec_points) is gs_array_type)
      if type(points) is gs_array_type:
          self.assertTrue(vec_points.shape == points.shape)
      else:
          n_points = len(points) if type(points) is list else 1
          if n_points > 1:
              self.assertTrue(vec_points.shape[0] == n_points)
          else:
              self.assertTrue(vec_points.ndim == 2)
  
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 TestDecorators obj's underlying member method code with example usage: obj.test_vectorize_graph(fnc, points) without return types