Example #1
0
        public void Test()
        {
            XBeeGetDetailedVersionCommand command = new XBeeGetDetailedVersionCommand();

            command.SetFrameId(0);
            _output.WriteLine(command.ToString());

            int[] arrayToTestAgainst         = new int[] { 0, 4, 8, 0, 86, 76, 85 };
            int[] commandSerializationResult = command.Serialize();

            Assert.True(arrayToTestAgainst.SequenceEqual(commandSerializationResult));
        }