code: def test_graph_property_edge_case(self):
      (
          G,
          x,
          y,
          edge_x,
          edge_y,
          edge_index,
          graph_x,
          graph_y,
      ) = simple_networkx_graph()
  
      dg = Graph(
          node_feature=x,
          node_label=y.type(torch.FloatTensor),
          edge_index=edge_index,
          edge_label=edge_y.type(torch.FloatTensor),
          graph_label=graph_y.type(torch.FloatTensor),
          directed=True,
      )
      self.assertEqual(dg.num_node_labels, 1)
      self.assertEqual(dg.num_edge_labels, 1)
      self.assertEqual(dg.num_graph_labels, 1)
  
file_path: deepsnap/tests/test_graph_tensor_backend.py
imports: import copy
  import torch
  import unittest
  import numpy
  from tests.utils import simple_networkx_graph
  from deepsnap.graph import Graph
  from torch_geometric.datasets import Planetoid
label_desc: Use image node_id 2 for calling the TestGraphTensorBackend obj's underlying member method code with example usage: obj.test_graph_property_edge_case() without return types