carry = new Wire();
}
@Test
public void run() throws Exception {
Action sumProbe = new ProbeAction("sum", sum, simulation);
sumProbe.action();
Action carryProbe = new ProbeAction("carry", carry, simulation);
carryProbe.action();
simulation.halfAdder(input1, input2, sum, carry);
input1.setSigVal(true);
simulation.run();