code: def test_dist(self, space, aligner, geodesic, point, expected, atol):
      dist = aligner.dist(space, geodesic, point)
  
      # TODO: make output type and shape consistent
      # self.assertTrue(
      #     type(dist) is type(expected),
      #     f"{type(dist)} is not {type(expected)} (input shape: {point.shape})"
      # )
      self.assertAllClose(dist, expected, atol=atol)
  
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 TestPointToGeodesicAligner obj's underlying member method code with example usage: obj.test_dist(space, aligner, geodesic, point, expected, atol) without return types