From 96b0a241d9530d5fbc9d4357e04f7acdff95ed5c Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 15 Apr 2024 17:16:09 +0500 Subject: [PATCH] add tests for get_referenced_structures --- src/ifcopenshell-python/test/util/test_element.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ifcopenshell-python/test/util/test_element.py b/src/ifcopenshell-python/test/util/test_element.py index e90130e28e..8efbeda360 100644 --- a/src/ifcopenshell-python/test/util/test_element.py +++ b/src/ifcopenshell-python/test/util/test_element.py @@ -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")