예제 #1
0
 def basic(cls):
     """ Create basic InputPort """
     return cls(OutPort.zeros())
예제 #2
0
 def setUp(self):
     self.outPort = OutPort.basic()
     self.basicInPort = InPort.basic()
     self.inPort = InPort(self.outPort)