public void GetRoutes() { Server server = new Server(); server.CreateBoard(size, map); DefaultMapBuilder board = new DefaultMapBuilder(server); var movement = new DefaultMovement(board); //var closestChest = movement.GetClosestChest(); //var route = movement.GetShortestCompleteRouteToLocation(closestChest.Location); //foreach (Node node in route) //{ // Console.WriteLine("{0}-{1}",node.Location.X,node.Location.Y); //} this.VisualizeMap(board); //Assert.IsNotNull(route); }
public void ParseMap() { Server server = new Server("",true,50,"http://vindinium.org/","m4"); server.CreateBoard(size, map); Assert.IsNotNull(server.Board); }