mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
add qto feature test
This commit is contained in:
committed by
Dion Moult
parent
d1d0b5724d
commit
f81ceb53cf
@@ -46,3 +46,20 @@ Scenario: Execute qto method - side formwork areas
|
|||||||
When I set "scene.BIMQtoProperties.qto_methods" to "SIDE_FORMWORK"
|
When I set "scene.BIMQtoProperties.qto_methods" to "SIDE_FORMWORK"
|
||||||
And I press "bim.execute_qto_method"
|
And I press "bim.execute_qto_method"
|
||||||
Then "scene.BIMQtoProperties.qto_result" is "16.0"
|
Then "scene.BIMQtoProperties.qto_result" is "16.0"
|
||||||
|
|
||||||
|
Scenario: Execute assign_objects_base_qto
|
||||||
|
Given an empty IFC project
|
||||||
|
And I add a cube
|
||||||
|
And the object "Cube" is selected
|
||||||
|
And I press "bim.assign_class(ifc_class='IfcWall', predefined_type='SOLIDWALL')"
|
||||||
|
When I press "bim.assign_objects_base_qto"
|
||||||
|
Then "active_object.PsetProperties.qto_name" is "Qto_WallBaseQuantities"
|
||||||
|
|
||||||
|
Scenario: Execute calculate_all_quantities
|
||||||
|
Given an empty IFC project
|
||||||
|
And I add a cube
|
||||||
|
And the object "Cube" is selected
|
||||||
|
And I press "bim.assign_class(ifc_class='IfcWall', predefined_type='SOLIDWALL')"
|
||||||
|
When I press "bim.calculate_all_quantities"
|
||||||
|
Then "active_object.PsetProperties.qto_name" is "Qto_WallBaseQuantities"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user