public void OutputDelayOffSecondTest1(double second) { GwPWSCommdUnit cmdUnit = new GwPWSCommdUnit(); Assert.ThrowsException <ArgumentOutOfRangeException>(() => cmdUnit.OutputDelayOffSecond(second)); }
public void OutputDelayOffSecondTest(double second) { GwPWSCommdUnit cmdUnit = new GwPWSCommdUnit(); Assert.AreEqual($"outp:del:off {second}\n", cmdUnit.OutputDelayOffSecond(second)); }