public void ProcessTest21203() { global::PathfindingAlgorithms.Algorithms.Astar.Astar astar; IEnumerable<ICell> iEnumerable; EuclidianHeuristic s0 = new EuclidianHeuristic(); StraightAdjacement s1 = new StraightAdjacement(); astar = AstarFactory.Create((IHeuristic)s0, (IAdjacement)s1); ICell[,] iCells = new ICell[1, 1]; ValueCell s2 = new ValueCell(default(Coordinates), 0); iCells[0, 0] = (ICell)s2; iEnumerable = this.ProcessTest(astar, iCells, default(Coordinates), default(Coordinates)); Assert.IsNotNull((object)astar); }
public void ProcessTest23301() { global::PathfindingAlgorithms.Algorithms.Astar.Astar astar; IEnumerable<ICell> iEnumerable; ManhattanHeuristic s0 = new ManhattanHeuristic(); StraightAdjacement s1 = new StraightAdjacement(); astar = AstarFactory.Create((IHeuristic)s0, (IAdjacement)s1); ICell[,] iCells = new ICell[1, 2]; Coordinates s2 = new Coordinates(default(int), 1); ValueCell s3 = new ValueCell(default(Coordinates), 1); iCells[0, 0] = (ICell)s3; Coordinates s5 = new Coordinates(default(int), 1); ValueCell s4 = new ValueCell(s5, 0); iCells[0, 1] = (ICell)s4; iEnumerable = this.ProcessTest(astar, iCells, s2, default(Coordinates)); Assert.IsNotNull((object)astar); }