public void CommandDelay() { var command = new Delay(0, new[] { (byte)0xff }, 0); var bytes = command.GetBytes(); Assert.AreEqual(bytes.Length, 2); Assert.AreEqual(bytes[0], Delay.Id); Assert.AreEqual(bytes[1], 0xff); Assert.AreEqual(25500, command.Milliseconds); }