public void IsOn() { var mplc = GetMPLC(); var bit = new Bit(mplc, "B100"); mplc.GetBit(Arg.Is("B100")).Returns(true); var isOn = bit.IsOn(); Assert.IsTrue(isOn); }
public void IsOn() { var mplc = GetMPLC(); var bit = new Bit(mplc, "B100"); mplc.GetBit(Arg.Is("B100")).Returns(true); var isOn = bit.IsOn(); Assert.IsTrue(isOn); }