mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
ifc2x3 tests
This commit is contained in:
@@ -25,4 +25,11 @@ class TestAddSystem(test.bootstrap.IFC4):
|
||||
system = ifcopenshell.api.run("system.add_system", self.file, ifc_class="IfcSystem")
|
||||
system2 = ifcopenshell.api.run("system.add_system", self.file, ifc_class="IfcDistributionSystem")
|
||||
assert system.is_a("IfcSystem")
|
||||
assert system2.is_a("IfcDistributionSystem")
|
||||
if self.file.schema == "IFC2X3":
|
||||
assert system2.is_a("IfcSystem")
|
||||
else:
|
||||
assert system2.is_a("IfcDistributionSystem")
|
||||
|
||||
|
||||
class TestAddSystemIFC2X3(test.bootstrap.IFC2X3, TestAddSystem):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user