def basic(cls): """ Create basic InputPort """ return cls(OutPort.zeros())
def setUp(self): self.outPort = OutPort.basic() self.basicInPort = InPort.basic() self.inPort = InPort(self.outPort)