コード例 #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);
        }