def test_add_nodes(self):
    g1 = NetworkGraph(self.s1.structure)
    g1.add_nodes(self.s1.structure.nodes_labels)
    for (n1, n2) in zip(g1.nodes, self.s1.structure.nodes_labels):
        self.assertEqual(n1, n2)
def test_add_nodes(self):
    g1 = NetworkGraph(self.s1.structure)
    g1.add_nodes(self.s1.structure.nodes_labels)
    for (n1, n2) in zip(g1.nodes, self.s1.structure.nodes_labels):
        self.assertEqual(n1, n2)