def test_step_four_blocks(self):
    source1 = source()
    source2 = source()
    conj = operator_of(conjunction, source1, source2)
    neg = operator_of(negation, conj)
    simulation = Simulation([neg, conj, source2, source1])
    simulation.run()
    self.assertEqual(0, neg.outputs[0].value)
def test_step_four_blocks(self):
    source1 = source()
    source2 = source()
    conj = operator_of(conjunction, source1, source2)
    neg = operator_of(negation, conj)
    simulation = Simulation([neg, conj, source2, source1])
    simulation.run()
    self.assertEqual(0, neg.outputs[0].value)