class_docstr: Test for data-loading utilities.
class_docstr_tok: ["Test","for","data-loading","utilities","."]
docstr: Test that the cities coordinates belong to the sphere.
docstr_tok: ["Test","that","the","cities","coordinates","belong","to","the","sphere","."]
code: def test_load_cities(self):
      """Test that the cities coordinates belong to the sphere."""
      sphere = Hypersphere(dim=2)
      data, _ = data_utils.load_cities()
      self.assertAllClose(gs.shape(data), (50, 3))
  
      tokyo = data[0]
      self.assertAllClose(
          tokyo, gs.array([0.61993792, -0.52479018, 0.58332859])
      )
  
      result = sphere.belongs(data)
      self.assertTrue(gs.all(result))
  
imports: import geomstats.backend
  import geomstats.datasets.utils
  from geomstats.geometry.euclidean import Euclidean
  from geomstats.geometry.hypersphere import Hypersphere
  from geomstats.geometry.landmarks import Landmarks
  from geomstats.geometry.spd_matrices import SPDMatrices
  from geomstats.geometry.special_euclidean import SpecialEuclidean
  from geomstats.geometry.special_orthogonal import SpecialOrthogonal
  from geomstats.information_geometry.beta import BetaDistributions
  from geomstats.test.test_case import TestCase, np_and_autograd_only
label_desc: Use image node_id 1 for calling the TestDatasets obj's underlying member method code with example usage: obj.test_load_cities() without return types