mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
add tests for get_referenced_structures
This commit is contained in:
@@ -726,6 +726,10 @@ class TestGetReferencedStructures(test.bootstrap.IFC4):
|
||||
assert subject.get_referenced_structures(element) == [building, building2]
|
||||
|
||||
|
||||
class TestGetReferencedStructuresIFC2X3(test.bootstrap.IFC2X3, TestGetReferencedStructures):
|
||||
pass
|
||||
|
||||
|
||||
class TestGetStructureReferencedElements(test.bootstrap.IFC4):
|
||||
def test_getting_references_of_an_element(self):
|
||||
building = ifcopenshell.api.run("root.create_entity", self.file, ifc_class="IfcBuilding")
|
||||
|
||||
Reference in New Issue
Block a user