def test_digraph_equality_nodes(self):
        gr = digraph()
        gr.add_nodes([0,1,2,3,4,5])
        
        gr2 = deepcopy(gr)
        
        gr3 = deepcopy(gr)
        gr3.del_node(5)
        
        gr4 = deepcopy(gr)
        gr4.add_node(6)
        gr4.del_node(0)
        
        assert gr == gr2
        assert gr2 == gr
        assert gr != gr3
        assert gr3 != gr
        assert gr != gr4
        assert gr4 != gr
Register a substage
dataset/ETHPy150Open pmatiello/python-graph/tests/unittests-digraph.py/test_digraph.test_digraph_equality_nodes--crossover with--dataset/ETHPy150Open renmengye/imageqa-public/src/nn/container.py/Container.register