public void GenerateMap() { Assert.IsNotNull(World.Instance); Assert.IsNotNull(World.Instance.MovementCost()); WorldRenderer worldRenderer = new WorldRenderer(); Assert.IsNotNull(worldRenderer); Bitmap b = worldRenderer.Render(200, 200); Assert.IsNotNull(b); Assert.IsTrue(b.Width == 200 && b.Height == 200); Assert.IsNotNull(worldRenderer.DrawRainfallMap()); Assert.IsNotNull(worldRenderer.DrawAgriculturalMap()); Assert.IsNotNull(worldRenderer.DrawBackground()); Assert.IsNotNull(worldRenderer.DrawHeightMap()); Assert.IsNotNull(worldRenderer.DrawIslands()); Assert.IsNotNull(worldRenderer.DrawMineralMap()); Assert.IsNotNull(worldRenderer.DrawNationMap()); Assert.IsNotNull(worldRenderer.DrawRawHeightMap()); Assert.IsNotNull(worldRenderer.DrawTemperatureMap()); Assert.IsNotNull(worldRenderer.DrawValueMap()); }