Example #1
0
        public void OutputDelayOffSecondTest1(double second)
        {
            GwPWSCommdUnit cmdUnit = new GwPWSCommdUnit();

            Assert.ThrowsException <ArgumentOutOfRangeException>(() => cmdUnit.OutputDelayOffSecond(second));
        }
Example #2
0
        public void OutputDelayOffSecondTest(double second)
        {
            GwPWSCommdUnit cmdUnit = new GwPWSCommdUnit();

            Assert.AreEqual($"outp:del:off {second}\n", cmdUnit.OutputDelayOffSecond(second));
        }