code: def test_against_frechet_mean(self, n_samples, atol):
      if self.estimator.n_clusters > 1:
          raise ValueError("Test only works for one cluster.")
      X = self.data_generator.random_point(n_points=n_samples)
  
      res = self.estimator.fit(X).cluster_centers_[0]
      res_ = self.other_estimator.fit(X).estimate_
      self.assertAllClose(res, res_, atol=atol)
  
file_path: geomstats/geomstats/test_cases/learning/kmeans.py
imports: import pytest
  import geomstats.backend
  from geomstats.test_cases.learning._base import BaseEstimatorTestCase
label_desc: Use image node_id 1 for calling the AgainstFrechetMeanTestCase obj's underlying member method code with example usage: obj.test_against_frechet_mean(n_samples, atol) without return types