public void CanRepresentAllEmptyCells()
        {
            var gameProps = new GameProps {
                Width = 4, Height = 4, MyId = 0
            };

            string[] shape =
            {
                "....",
                "....",
                "....",
                "...."
            };

            BinaryTrack sut = BinaryTrack.FromString(gameProps, shape);

            int[,] map = sut.ToCartesian();
            MapAssert.AllCoordinatesAreZero(map);
        }
        public void CanRepresentMixedFreeAndIslandCells()
        {
            var gameProps = new GameProps {
                Width = 4, Height = 4, MyId = 0
            };

            string[] shape =
            {
                "x..x",
                ".xx.",
                "....",
                "...."
            };

            BinaryTrack sut = BinaryTrack.FromString(gameProps, shape);

            int[,] map = sut.ToCartesian();
            Assert.AreEqual(gameProps.Width, map.GetLength(0));
            Assert.AreEqual(gameProps.Height, map.GetLength(1));

            MapAssert.AllCoordinatesAreZeroExcept(map, (0, 0), (3, 0), (1, 1), (2, 1));
        }