code: def test_geodesic(self, space, start_point, end_point, t, expected):
      geodesic = space.metric.geodesic(start_point, end_point)
      pts_result = geodesic(t)
      self.assertAllClose(pts_result, expected)
  
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 TestGraphSpaceMetric obj's underlying member method code with example usage: obj.test_geodesic(space, start_point, end_point, t, expected) without return types