(self)
| 30 | assert stream_file.schema == "IFC4" |
| 31 | |
| 32 | def test_by_id(self): |
| 33 | stream_file: ifcopenshell.stream |
| 34 | stream_file = ifcopenshell.open(TEST_FILE, should_stream=True) |
| 35 | assert (element := stream_file.by_id(1)) |
| 36 | assert str(element) == "#1=IFCPROJECT('3kv235yMjDO9tHiTzD8QuS',$,'My Project',$,$,$,$,(#14,#26),#9);" |
| 37 | |
| 38 | def test_by_type(self): |
| 39 | stream_file: ifcopenshell.stream |