public void TileEntityIndex_Set_Get() { var packet = new TileEntityInfo(); packet.TileEntityIndex = 10; Assert.Equal(10, packet.TileEntityIndex); }
public void TileEntity_Set_Get() { var tileEntity = Mock.Of <SerializableTileEntity>(); var packet = new TileEntityInfo(); packet.TileEntity = tileEntity; Assert.Same(tileEntity, packet.TileEntity); }