File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
GraphLayout/Test/MSAGLTests Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff 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 ]
You can’t perform that action at this time.
0 commit comments