예제 #1
0
 def test_can_copy_inputs_from_other_node(self):
     node = Node(op="Subtract")
     node.inputs = self.node.inputs
     assert node.inputs == self.node.inputs
     # Contents should be the same, but it should not just be a reference to the existing SynchronizedList
     assert node.inputs is not self.node.inputs
예제 #2
0
 def test_can_copy_inputs_from_other_node(self):
     node = Node(op="Subtract")
     node.inputs = self.node.inputs
     assert node.inputs == self.node.inputs