@@ -1287,26 +1287,20 @@ def test_face_attributes_includes_all_defaults(box):
1287
1287
# bounding volumes
1288
1288
# --------------------------------------------------------------------------
1289
1289
1290
+ if not compas .IPY :
1290
1291
1291
- def test_compute_aabb ():
1292
- if compas .IPY :
1293
- pytest . skip ( "Skipping test under IronPython." )
1292
+ def test_compute_aabb ():
1293
+ mesh = Mesh . from_obj ( compas .get ( "tubemesh.obj" ))
1294
+ aabb = mesh . compute_aabb ( )
1294
1295
1295
- mesh = Mesh .from_obj (compas .get ("tubemesh.obj" ))
1296
- aabb = mesh .compute_aabb ()
1296
+ assert isinstance (aabb , Box )
1297
+ assert len (aabb .points ) == 8
1298
+ assert aabb .contains_points (mesh .to_points ())
1297
1299
1298
- assert isinstance ( aabb , Box )
1299
- assert len ( aabb . points ) == 8
1300
- assert aabb . contains_points ( mesh .to_points () )
1300
+ def test_compute_obb ():
1301
+ mesh = Mesh . from_obj ( compas . get ( "tubemesh.obj" ))
1302
+ obb = mesh .compute_obb ( )
1301
1303
1302
-
1303
- def test_compute_obb ():
1304
- if compas .IPY :
1305
- pytest .skip ("Skipping test under IronPython." )
1306
-
1307
- mesh = Mesh .from_obj (compas .get ("tubemesh.obj" ))
1308
- obb = mesh .compute_obb ()
1309
-
1310
- assert isinstance (obb , Box )
1311
- assert len (obb .points ) == 8
1312
- assert obb .contains_points (mesh .to_points ())
1304
+ assert isinstance (obb , Box )
1305
+ assert len (obb .points ) == 8
1306
+ assert obb .contains_points (mesh .to_points ())
0 commit comments