class_docstr: Test for data-loading utilities.
class_docstr_tok: ["Test","for","data-loading","utilities","."]
docstr: Test the correct number of edges and nodes for each graph.
docstr_tok: ["Test","the","correct","number","of","edges","and","nodes","for","each","graph","."]
code: def test_karate_graph(self):
      """Test the correct number of edges and nodes for each graph."""
      graph = data_utils.load_karate_graph()
      result = len(graph.edges) + len(graph.labels)
      expected = 68
      self.assertTrue(result == expected)
  
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 4 for calling the TestDatasets obj's underlying member method code with example usage: obj.test_karate_graph() without return types