public void Result_AtLeastOneInputTrue_ShouldReturnFalse() { // Arrange NorGate Gate = new NorGate(); Gate.In = new INode[] { LowStartPoint, HighStartPoint }; // Act bool output = Gate.Result(); // Assert Assert.IsFalse(output); }
public void Result_AllInputsFalse_ShouldReturnTrue() { // Arrange NorGate Gate = new NorGate(); Gate.In = new INode[] { LowStartPoint, LowStartPoint }; // Act bool output = Gate.Result(); // Assert Assert.IsTrue(output); }