code: def test_rotate_points(self, n_points, atol):
      north_pole = gs.array([1.0, 0.0, 0.0])
      sphere = Hypersphere(dim=2, equip=False)
  
      end_point = sphere.random_point()
      res = utils.rotate_points(north_pole, end_point)
      self.assertAllClose(res, end_point, atol=atol)
  
      points = sphere.random_point(n_points)
      res = utils.rotate_points(points, north_pole)
      self.assertAllClose(res, points, atol=atol)
  
file_path: geomstats/geomstats/test_cases/algebra_utils.py
imports: import math
  import pytest
  import geomstats.algebra_utils
  import geomstats.backend
  from geomstats.geometry.hypersphere import Hypersphere
  from geomstats.test.test_case import TestCase
label_desc: Use image node_id 3 for calling the AlgebraUtilsTestCase obj's underlying member method code with example usage: obj.test_rotate_points(n_points, atol) without return types