Пример #1
0
        public void Operations_Set_Get()
        {
            var packet = new WireOperationsRequest();

            packet.Operations = WireOperationsRequest.WireOperations.Actuator;

            Assert.Equal(WireOperationsRequest.WireOperations.Actuator, packet.Operations);
        }
Пример #2
0
        public void EndY_Set_Get()
        {
            var packet = new WireOperationsRequest();

            packet.EndY = 256;

            Assert.Equal(256, packet.EndY);
        }
Пример #3
0
        public void StartY_Set_Get()
        {
            var packet = new WireOperationsRequest();

            packet.StartY = 100;

            Assert.Equal(100, packet.StartY);
        }
Пример #4
0
        public void EndX_Set_Get()
        {
            var packet = new WireOperationsRequest();

            packet.EndX = 100;

            Assert.Equal(100, packet.EndX);
        }
Пример #5
0
        public void StartX_Set_Get()
        {
            var packet = new WireOperationsRequest();

            packet.StartX = 256;

            Assert.Equal(256, packet.StartX);
        }