コード例 #1
0
        public void TestPathBetweenStartingSectors_Brawl()
        {
            var target = GameMaps.Brawl(_game);

            target.SetVisibilityToTeam(1, true);

            var start = target.Sectors.First(_ => _.StartingSector != 0);
            var end   = target.Sectors.Last(_ => _.StartingSector != 0);

            var path = target.ShortestPath(1, start.Id, end.Id);

            path.ShouldBeNull();
        }