5 #######################################################################
6 # Make Boolean operations non-destructive when running with fuzzy option
7 #######################################################################
9 restore [locate_data_file bug26619_shell_ft81_h0.brep] h0
10 restore [locate_data_file bug26619_the_face.brep] f0
12 regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance h0] full ExpectedMaxTol_h0
13 regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance f0] full ExpectedMaxTol_f0
15 #turn on non-destructive mode of BOP and fuzzy value;
16 #with this combination the test is fail before the fix 26738,
17 #as tolerance of input shape is changed
28 regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance h0] full MaxTol_h0
29 regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance f0] full MaxTol_f0
31 set tol_abs_MaxTol 0.0001
32 set tol_rel_MaxTol 0.0001
33 checkreal "MaxTolerance h0" ${MaxTol_h0} ${ExpectedMaxTol_h0} ${tol_abs_MaxTol} ${tol_rel_MaxTol}
34 checkreal "MaxTolerance f0" ${MaxTol_f0} ${ExpectedMaxTol_f0} ${tol_abs_MaxTol} ${tol_rel_MaxTol}
36 checkprops result -l 150.23