docstr: Check distance of a point to itself is zero.
  
  Parameters
  ----------
  n_points : int
      Number of random points to generate.
  atol : float
      Absolute tolerance.
docstr_tok: ["Check","distance","of","a","point","to","itself","is","zero",".","Parameters","--","--","--","--","--","n_points",":","int","Number","of","random","points","to","generate",".","atol",":","float","Absolute","tolerance","."]
code: def test_dist_point_to_itself_is_zero(self, n_points, atol):
      """Check distance of a point to itself is zero.
  
      Parameters
      ----------
      n_points : int
          Number of random points to generate.
      atol : float
          Absolute tolerance.
      """
      point = self.data_generator.random_point(n_points)
  
      dist_ = self.space.metric.dist(point, point)
  
      expected_shape = get_batch_shape(self.space.point_ndim, point)
      expected = gs.zeros(expected_shape)
      self.assertAllClose(dist_, expected, atol=atol)
  
imports: import math
  import pytest
  import geomstats.backend
  from geomstats.geometry.spd_matrices import SPDMatrices
  from geomstats.test_cases.geometry.connection import ConnectionComparisonTestCase, ConnectionTestCase
  from geomstats.vectorization import get_batch_shape
label_desc: Use image node_id 21 for calling the RiemannianMetricTestCase obj's underlying member method code with example usage: obj.test_dist_point_to_itself_is_zero(n_points, atol) without return types