Skip to content

Commit 5324ff9

Browse files
committed
fix the build
Signed-off-by: Lev Nachmanson <[email protected]>
1 parent fabc618 commit 5324ff9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

GraphLayout/Test/MSAGLTests/SplineRouterTests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@ static Node SetNode(
207207

208208
[TestMethod]
209209
public void OneEdgeWithObstacle() {
210+
#if TEST_MSAGL
210211
GraphViewerGdi.DisplayGeometryGraph.SetShowFunctions();
212+
#endif
211213
var g = new GeometryGraph();
212214
var a = new Node {
213215
BoundaryCurve = CurveFactory.CreateRectangleWithRoundedCorners(
@@ -244,7 +246,9 @@ public void OneEdgeWithObstacle() {
244246
}
245247
[TestMethod]
246248
public void OneEdgeWithTwoObstacles() {
249+
#if TEST_MSAGL
247250
GraphViewerGdi.DisplayGeometryGraph.SetShowFunctions();
251+
#endif
248252
var g = new GeometryGraph();
249253
var a = new Node {
250254
BoundaryCurve = CurveFactory.CreateRectangleWithRoundedCorners(
@@ -286,7 +290,9 @@ public void OneEdgeWithTwoObstacles() {
286290
g.Edges.Add(e);
287291
var sr = new SplineRouter(g, 2, 4, Math.PI / 6);
288292
sr.Run();
293+
#if TEST_MSAGL
289294
GraphViewerGdi.DisplayGeometryGraph.ShowGraph(g);
295+
#endif
290296
}
291297

292298
[TestMethod]

0 commit comments

Comments
 (0)