docstr: Check random point shape.
  
  Parameters
  ----------
  n_points : int
      Number of random points to generate.
docstr_tok: ["Check","random","point","shape",".","Parameters","--","--","--","--","--","n_points",":","int","Number","of","random","points","to","generate","."]
code: def test_random_tangent_vec_shape(self, n_points):
      """Check random point shape.
  
      Parameters
      ----------
      n_points : int
          Number of random points to generate.
      """
      point = self.data_generator.random_point(n_points)
      tangent_vec = self.data_generator.random_tangent_vec(point)
  
      expected_ndim = self.space.point_ndim + int(n_points > 1)
      self.assertEqual(gs.ndim(point), expected_ndim)
  
      self.assertAllEqual(
          gs.shape(tangent_vec)[-self.space.point_ndim :],
          self.space.shape,
      )
  
      if n_points > 1:
          self.assertEqual(gs.shape(tangent_vec)[0], n_points)
  
imports: import pytest
  import geomstats.backend
  from geomstats.test.random import RandomDataGenerator
  from geomstats.test.test_case import TestCase
  from geomstats.test.vectorization import generate_vectorization_data
label_desc: Use image node_id 14 for calling the _ManifoldTestCaseMixins obj's underlying member method code with example usage: obj.test_random_tangent_vec_shape(n_points) without return types