assert tests.meshableCheck(1) assert tests.voxelGroupListCheck('pixelgroup (3 voxels, meshable)', 'pixelgroup<2> (6 voxels, meshable)') assert tests.selectedGroupCheck('pixelgroup<2> (6 voxels, meshable)') assert tests.sensitization4() # clear the whole selection findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame:TBScroll:Voxel Selection:Clear').clicked() checkpoint microstructure page sensitized checkpoint pixel page updated checkpoint OOF.Graphics_1.Toolbox.Pixel_Select.Clear # there must be no effect after a clear assert tests.meshableCheck(1) assert tests.voxelGroupListCheck('pixelgroup (3 voxels, meshable)', 'pixelgroup<2> (6 voxels, meshable)') assert tests.selectedGroupCheck('pixelgroup<2> (6 voxels, meshable)') assert tests.sensitization5() # undo the clearing of the selection findWidget('OOF3D Graphics 1:Pane0:Pane2:ToolboxFrame:TBScroll:Voxel Selection:Undo').clicked() checkpoint microstructure page sensitized checkpoint pixel page updated checkpoint OOF.Graphics_1.Toolbox.Pixel_Select.Undo findWidget('OOF3D:Microstructure Page:Pane:VoxelGroups:GroupListScroll:GroupList').get_selection().select_path((0,)) findWidget('OOF3D:Microstructure Page:Pane:VoxelGroups:GroupListScroll:GroupList').get_selection().select_path((1,)) findWidget('OOF3D:Microstructure Page:Pane:VoxelGroups:Remove').clicked() checkpoint microstructure page sensitized checkpoint meshable button set checkpoint microstructure page sensitized checkpoint meshable button set checkpoint meshable button set checkpoint meshable button set
# Add Solver findWidget('OOF2:Solver Page:VPane:Subproblems:Set').clicked() checkpoint toplevel widget mapped Dialog-Specify Solver findWidget('Dialog-Specify Solver').resize(441, 218) findWidget('Dialog-Specify Solver:gtk-ok').clicked() checkpoint Solver page sensitized checkpoint Field page sensitized checkpoint mesh page subproblems sensitized checkpoint mesh page sensitized checkpoint OOF.Subproblem.Set_Solver checkpoint Solver page sensitized assert tests.sensitization4() # Select second subproblem findWidget('OOF2:Solver Page:VPane:Subproblems:SubproblemScroll:SubproblemList').get_selection().select_path((1,)) checkpoint Solver page sensitized assert tests.sensitization5() assert tests.selection(1) # Add solver findWidget('OOF2:Solver Page:VPane:Subproblems:SubproblemScroll').get_vadjustment().set_value( 6.0000000000000e+00) findWidget('OOF2:Solver Page:VPane:Subproblems:Set').clicked() checkpoint toplevel widget mapped Dialog-Specify Solver findWidget('Dialog-Specify Solver').resize(441, 218) findWidget('Dialog-Specify Solver:gtk-ok').clicked() checkpoint Solver page sensitized checkpoint Field page sensitized checkpoint mesh page subproblems sensitized checkpoint mesh page sensitized checkpoint OOF.Subproblem.Set_Solver checkpoint Solver page sensitized assert tests.sensitization6() # Remove second solver