ifc2x3 tests

removed part of test_append_two_type_products_sharing_the_same_material_indirectly_via_a_material_set for ifc2x3 compatibility and removed part is already tested in test_append_two_type_products_sharing_the_same_material_with_properties
This commit is contained in:
Andrej730
2024-05-13 12:32:58 +05:00
parent 3665dda87c
commit a9cba30da6
35 changed files with 395 additions and 262 deletions
@@ -37,3 +37,7 @@ class TestAssignLayer(test.bootstrap.IFC4):
ifcopenshell.api.run("layer.assign_layer", self.file, items=items[2:], layer=layer)
assert len(layer.AssignedItems) == 4
assert set(layer.AssignedItems) == set(items)
class TestAssignLayerIFC2X3(test.bootstrap.IFC2X3, TestAssignLayer):
pass
@@ -37,3 +37,7 @@ class TestUnassignLayer(test.bootstrap.IFC4):
ifcopenshell.api.run("layer.assign_layer", self.file, items=items, layer=layer)
ifcopenshell.api.run("layer.unassign_layer", self.file, items=items, layer=layer)
assert not self.file.by_type("IfcPresentationLayerAssignment")
class TestUnassignLayerIFC2X3(test.bootstrap.IFC2X3, TestUnassignLayer):
pass