mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
- 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
45 lines
842 B
Plaintext
Executable File
45 lines
842 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC22746"
|
|
puts "============"
|
|
puts ""
|
|
###########################################################################
|
|
# Progress indicator in ShapeHealing
|
|
###########################################################################
|
|
|
|
set BugNumber OCC22746
|
|
|
|
catch { pload XSDRAW }
|
|
restore [locate_data_file OCC22746-om.brep] a
|
|
vinit
|
|
XProgress -t
|
|
set List1 [fixshape result a]
|
|
puts "----------------------"
|
|
XProgress +t
|
|
set List2 [fixshape result a]
|
|
|
|
set status 0
|
|
|
|
if { ${List1} != ${List2}} {
|
|
set status 0
|
|
} else {
|
|
set status 1
|
|
}
|
|
|
|
if { [ regexp {Progress:} $List2 ] } {
|
|
puts "${BugNumber} OK"
|
|
set status 0
|
|
} else {
|
|
puts "${BugNumber} Faulty"
|
|
set status 1
|
|
}
|
|
|
|
if { $status != 0 } {
|
|
puts "Faulty $BugNumber"
|
|
} else {
|
|
puts "OK $BugNumber"
|
|
}
|
|
|
|
set 3dviewer 0
|
|
checkprops result -s 16473.3
|
|
|