more tests for ifc2x3

This commit is contained in:
Andrej730
2024-05-09 14:59:23 +05:00
parent 2d35869c41
commit 8ffb77551f
35 changed files with 181 additions and 31 deletions
@@ -34,3 +34,7 @@ class TestCopyBoundary(test.bootstrap.IFC4):
boundary2 = ifcopenshell.api.run("boundary.copy_boundary", self.file, boundary=boundary)
assert boundary2.ConnectionGeometry.is_a("IfcConnectionSurfaceGeometry")
assert boundary2.ConnectionGeometry != boundary.ConnectionGeometry
class TestCopyBoundaryIFC2X3(test.bootstrap.IFC2X3, TestCopyBoundary):
pass
@@ -33,3 +33,7 @@ class TestRemoveBoundary(test.bootstrap.IFC4):
ifcopenshell.api.run("boundary.remove_boundary", self.file, boundary=boundary)
assert not self.file.by_type("IfcRelSpaceBoundary")
assert not self.file.by_type("IfcConnectionSurfaceGeometry")
class TestRemoveBoundaryIFC2X3(test.bootstrap.IFC2X3, TestRemoveBoundary):
pass