docstr: Verifies that densification produces the correct number of edges in the
  original directed graph
docstr_tok: ["Verifies","that","densification","produces","the","correct","number","of","edges","in","the","original","directed","graph"]
code: def test_densify_edge_count(self):
      """
      Verifies that densification produces the correct number of edges in the
      original directed graph
      """
      compressed_G = self.build_compressed_graph()
      compressed_edge_count = len(compressed_G.edges())
      original_graph = self.densify(compressed_G, self.c_nodes)
      original_edge_count = len(original_graph.edges())
      assert compressed_edge_count <= original_edge_count
      G = self.build_original_graph()
      assert original_edge_count == len(G.edges())
  
imports: import pytest
  import networkx
label_desc: Use image node_id 9 for calling the TestDirectedDedensification obj's underlying member method code with example usage: obj.test_densify_edge_count() without return types