Beispiel #1
0
        public void OutputDelayOnSecondTest(double second)
        {
            GwPWSCommdUnit cmdUnit = new GwPWSCommdUnit();

            Assert.AreEqual($"outp:del:on {second}\n", cmdUnit.OutputDelayOnSecond(second));
        }
Beispiel #2
0
        public void OutputDelayOnSecondTest1(double second)
        {
            GwPWSCommdUnit cmdUnit = new GwPWSCommdUnit();

            Assert.ThrowsException <ArgumentOutOfRangeException>(() => cmdUnit.OutputDelayOnSecond(second));
        }