public void ShortestPathCanCreateVisibilityGraphTest() { // Create visibility graph used to calculate the shortest path visibilityGraph = PathFinding.CreateVisibilityGraph(new List <Polygon> { boundary }, new List <Polygon> { internalPolygon }); // Check if the visibility graph is created properly Assert.IsTrue(!visibilityGraph.Equals(null)); }
public void ShortestPathCanCreateVisibilityGraphTest() { // Create visibility graph used to calculate the shortest path this.visibilityGraph = PathFinding.CreateVisibilityGraph(new List <Polygon> { this.boundary }, new List <Polygon> { this.internalPolygon }); // Check if the visibility graph is created properly Assert.IsNotNull(this.visibilityGraph); }