public void ForXTest()
        {
            int          width     = 33;
            int          height    = 80;
            BasicMap     map       = new BasicMap(width, height, 1, Distance.EUCLIDEAN);
            List <Coord> pointsSet = new List <Coord>();
            int          counter   = 0;

            map.ForX((x) =>
            {
                double y = 14.75 * Math.Sin(x / 30.0) + width / 2;
                Coord fx = new Coord(x, (int)y);
                pointsSet.Add(fx);
                map.SetTerrain(_factory.Generic(fx, counter));
                counter++;
            });

            counter = 0;
            for (int x = 0; x < width; x++)
            {
                double       y       = 14.75 * Math.Sin(x / 30.0) + width / 2;
                Coord        fx      = new Coord(x, (int)y);
                BasicTerrain terrain = map.GetTerrain <BasicTerrain>(fx);
                Assert.NotNull(terrain);
                Assert.AreEqual(counter, terrain.Glyph);
                counter++;
            }
        }