From 5324ff9cffb75feeed0306e0dace4597deb51e65 Mon Sep 17 00:00:00 2001 From: Lev Nachmanson Date: Mon, 24 Jan 2022 09:41:17 -1000 Subject: [PATCH] fix the build Signed-off-by: Lev Nachmanson --- GraphLayout/Test/MSAGLTests/SplineRouterTests.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GraphLayout/Test/MSAGLTests/SplineRouterTests.cs b/GraphLayout/Test/MSAGLTests/SplineRouterTests.cs index 0cc9c77a..dae09dd6 100644 --- a/GraphLayout/Test/MSAGLTests/SplineRouterTests.cs +++ b/GraphLayout/Test/MSAGLTests/SplineRouterTests.cs @@ -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( @@ -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( @@ -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]