示例#1
0
 def test_thorough_jsons(self):
     graph_json_str = to_jsons(sialic_acid_graph)
     graph = from_jsons(graph_json_str)
     self.help_test_equal(graph)
示例#2
0
 def test_thorough_jsons(self):
     graph_json_str = to_jsons(self.thorough_graph)
     graph = from_jsons(graph_json_str)
     self.bel_thorough_reconstituted(graph)
示例#3
0
 def test_thorough_jsons(self):
     """Test the round-trip through a node-link JSON string."""
     graph_json_str = to_jsons(sialic_acid_graph)
     graph = from_jsons(graph_json_str)
     self.help_test_equal(graph)