code: def test_fit(self, estimator, X, atol):
      estimator.fit(X)
  
      mean = estimator.mean_
      direc = estimator.components_[0]
  
      new_geo = estimator.metric.total_space_metric.geodesic(
          initial_point=mean, initial_tangent_vec=direc
      )
  
      dists = estimator.metric.point_to_geodesic_aligner.dist(
          estimator, new_geo, X
      )
      self.assertAllClose(dists, gs.zeros_like(dists), atol=atol)
  
imports: import geomstats.backend
  from geomstats.learning.aac import AAC
  from geomstats.test.parametrizers import Parametrizer
  from geomstats.test.test_case import TestCase
  from .data.aac import AACFrechetMeanTestData, AACGGPCATestData, AACRegressionTestData, AACTestData
label_desc: Use image node_id 1 for calling the TestAACGGPCA obj's underlying member method code with example usage: obj.test_fit(estimator, X, atol) without return types