Ejemplo n.º 1
0
 def test_run_ifc2x3(self):
     ifc = ifcopenshell.file(schema="IFC2X3")
     tool.Ifc.set(ifc)
     reference = ifc.createIfcLibraryReference(
         ItemReference="http://example.org/digitaltwin#floor")
     library = ifc.createIfcLibraryInformation(LibraryReference=[reference])
     assert subject.get_library_brick_reference(
         library, "http://example.org/digitaltwin#floor") == reference
Ejemplo n.º 2
0
 def test_run(self):
     ifc = ifcopenshell.file()
     library = ifc.createIfcLibraryInformation()
     reference = ifc.createIfcLibraryReference(
         Identification="http://example.org/digitaltwin#floor",
         ReferencedLibrary=library)
     assert subject.get_library_brick_reference(
         library, "http://example.org/digitaltwin#floor") == reference