示例#1
0
        public void TileEntityIndex_Set_Get()
        {
            var packet = new TileEntityInfo();

            packet.TileEntityIndex = 10;

            Assert.Equal(10, packet.TileEntityIndex);
        }
示例#2
0
        public void TileEntity_Set_Get()
        {
            var tileEntity = Mock.Of <SerializableTileEntity>();
            var packet     = new TileEntityInfo();

            packet.TileEntity = tileEntity;

            Assert.Same(tileEntity, packet.TileEntity);
        }