Skip to content

Commit

Permalink
fix the build
Browse files Browse the repository at this point in the history
Signed-off-by: Lev Nachmanson <[email protected]>
  • Loading branch information
levnach committed Jan 24, 2022
1 parent fabc618 commit 5324ff9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions GraphLayout/Test/MSAGLTests/SplineRouterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ static Node SetNode(

[TestMethod]
public void OneEdgeWithObstacle() {
#if TEST_MSAGL
GraphViewerGdi.DisplayGeometryGraph.SetShowFunctions();
#endif
var g = new GeometryGraph();
var a = new Node {
BoundaryCurve = CurveFactory.CreateRectangleWithRoundedCorners(
Expand Down Expand Up @@ -244,7 +246,9 @@ public void OneEdgeWithObstacle() {
}
[TestMethod]
public void OneEdgeWithTwoObstacles() {
#if TEST_MSAGL
GraphViewerGdi.DisplayGeometryGraph.SetShowFunctions();
#endif
var g = new GeometryGraph();
var a = new Node {
BoundaryCurve = CurveFactory.CreateRectangleWithRoundedCorners(
Expand Down Expand Up @@ -286,7 +290,9 @@ public void OneEdgeWithTwoObstacles() {
g.Edges.Add(e);
var sr = new SplineRouter(g, 2, 4, Math.PI / 6);
sr.Run();
#if TEST_MSAGL
GraphViewerGdi.DisplayGeometryGraph.ShowGraph(g);
#endif
}

[TestMethod]
Expand Down

0 comments on commit 5324ff9

Please sign in to comment.