Exemplo n.º 1
0
        public void ShouldRespectMovementPattern()
        {
            var grid = GridCatalog.GridWithObstructedDiagonals();
            var path = grid.GetPath(new Position(0, 0), new Position(8, 8), MovementPatterns.LateralOnly, AgentShapes.Dot);

            Assert.NotNull(path);
            Assert.Empty(path);
        }