(self, model)
| 80 | assert serialize_result(42) == 42 |
| 81 | |
| 82 | def test_entity(self, model): |
| 83 | wall = model.by_type("IfcWall")[0] |
| 84 | result = serialize_result(wall) |
| 85 | assert result["id"] == wall.id() |
| 86 | assert result["type"] == "IfcWall" |
| 87 | assert result["name"] == "Wall001" |
| 88 | |
| 89 | def test_list(self, model): |
| 90 | walls = model.by_type("IfcWall") |
nothing calls this directly
no test coverage detected