Ejemplo n.º 1
0
    def store_output_then_load_output(self, parallel_id):
        pi = ParallelIdentifier(parallel_id)
        io.store_output(net=self.net, operation_id=self.output_operation_id,
                property_name=self.output_property_name, value=self.value,
                parallel_id=pi)

        self.assertEqual(self.value,
                io.load_output(net=self.net,
                    operation_id=self.output_operation_id,
                    property_name=self.output_property_name,
                    parallel_id=pi))
Ejemplo n.º 2
0
 def load_output(self, name, parallel_id):
     return io.load_output(net=self.net, operation_id=self.operation_id, parallel_id=parallel_id, property_name=name)