1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- Added function checkprops, set default tolerance parameter to 1.0e-4
- Using "area" instead of "square".
- Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases.
- Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1)
- Corrected test cases to use checkprops proc.
- Correct image difference
- Updated TODOs in test cases.
- Updated test cases to get correct images of result shape
2015-12-10 16:56:03 +03:00

25 lines
929 B
Plaintext
Executable File

puts "TODO OCC25911 ALL: An exception was caught"
puts "TODO OCC25911 ALL: \\*\\* Exception \\*\\*.*"
puts "TODO OCC25911 ALL: TEST INCOMPLETE"
puts "============"
puts "OCC22194"
puts "============"
puts ""
#######################################################################
# Exception in LocOpe_SplitShape algoritm
#######################################################################
# TEMPORARY TEST! NO COMPLITED!!!!!
set BugNumber OCC22194
restore [locate_data_file OCC22194-sh.brep] s
restore [locate_data_file OCC22194-pl.brep] pl
section r s pl
explode r
explode s F
splitshape result s s_1 r_1 s_5 r_2 s_13 r_3 s_22 r_4 s_31 r_5 s_39 r_6 s_46 r_7 s_51 r_8 s_68 r_9 s_90 r_10 s_112 r_11 s_133 r_12 s_143 r_13 s_146 r_14 s_151 r_15 s_161 r_16 s_176 r_17 s_183 r_18 s_201 r_19 s_213 r_20 s_213 r_21 s_235 r_22 s_257 r_23 s_270 r_24 s_285 r_25 s_300 r_26 s_314 r_27
checkprops result -s 24549.6
set 2dviewer 0