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