1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0024591: Modification of tests in group "sewing"

Proper use of "freebounds" command in sewing testgrid: pload XSDRAW, reference data for checking free edges were added.
This commit is contained in:
ama 2014-02-03 17:11:17 +04:00 committed by apn
parent 00302ba4e7
commit eddb9c7c00
71 changed files with 79 additions and 2 deletions

View File

@ -3,6 +3,7 @@ cpulimit 300
if { [array get Draw_Groups "TOPOLOGY Feature commands"] == "" } {
pload TOPTEST
pload XSDRAW
}
if { [info exists imagedir] == 0 } {
@ -12,3 +13,5 @@ if { [info exists imagedir] == 0 } {
if { [info exists test_image ] == 0 } {
set test_image photo
}
set nbFreeEdges 0

View File

@ -34,11 +34,12 @@ if { [isdraw result] } {
puts $t
set w [lindex $t 1]
if {"$w" == "SHELL"} {
catch {freebounds $result -0.01}
freebounds $result -0.01
set s [explode result_c e]
puts $s
set index [ llength $s ]
if { $index != 0 } {
#nbFreeEdges is set to empty only in cases of unstable work of sewing (see #24591).
if { [string compare "$nbFreeEdges" ""] == 0 || $index != $nbFreeEdges } {
puts "Error : Number of free edges is $index"
}

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_blendhdn.rle] a
set nbFreeEdges 7

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_blendhdp.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_blendhdq.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_blendhdr.rle] a
set nbFreeEdges 4

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_blendhdu.rle] a
set nbFreeEdges 14

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_blendhdv.rle] a
set nbFreeEdges 17

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_conge1.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_flanphdy.rle] a
set nbFreeEdges 46

View File

@ -1 +1,2 @@
restore [locate_data_file 4_K1(hlacg01).draw] a
set nbFreeEdges 9

View File

@ -1 +1,2 @@
restore [locate_data_file 4_O1(hlacg06).draw] a
set nbFreeEdges 14

View File

@ -1 +1,2 @@
restore [locate_data_file 4_P1(hlacg07).draw] a
set nbFreeEdges 17

View File

@ -1 +1,2 @@
restore [locate_data_file 4_Q1(hlacg08).draw] a
set nbFreeEdges 14

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_indushei.rle] a
set nbFreeEdges 15

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_indushej.rle] a
set nbFreeEdges 26

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_indushek.rle] a
set nbFreeEdges 46

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_indushel.rle] a
set nbFreeEdges 11

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_indushem.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_indushen.rle] a
set nbFreeEdges 16

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_indusheo.rle] a
set nbFreeEdges 14

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_indushep.rle] a
set nbFreeEdges 8

View File

@ -1,2 +1,4 @@
restore [locate_data_file CCH_indusheq.rle] a
puts "TODO #24592 ALL: Error : Number of free edges is"
set nb_f ""
set nbFreeEdges ""

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_propag.rle] a
set nbFreeEdges 7

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_r2.rle] a
set nbFreeEdges 7

View File

@ -1 +1,2 @@
restore [locate_data_file CCH_testkhes.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CIN900_buc60204.rle] a
set nbFreeEdges 24

View File

@ -1 +1,2 @@
restore [locate_data_file CNP001_projoiei.rle] a
set nbFreeEdges 12

View File

@ -1 +1,2 @@
restore [locate_data_file CFE_diamagaa.rle] a
set nbFreeEdges 6

View File

@ -1 +1,2 @@
restore [locate_data_file CFI901_congefjx.rle] a
set nbFreeEdges 6

View File

@ -1 +1,2 @@
restore [locate_data_file CFI901_congefjy.rle] a
set nbFreeEdges 13

View File

@ -1 +1,2 @@
restore [locate_data_file CFI901_congefka.rle] a
set nbFreeEdges 17

View File

@ -1 +1,2 @@
restore [locate_data_file CFI901_congefke.rle] a
set nbFreeEdges 6

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_11_b2fez.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_11_f1ffg.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_11_f2ffh.rle] a
set nbFreeEdges 12

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_13_d1ffl.rle] a
set nbFreeEdges 9

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_13_h1ffp.rle] a
set nbFreeEdges 12

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_5_b12fgg.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_5_c12fgh.rle] a
set nbFreeEdges 9

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_5_d12fgi.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_5_f12fgk.rle] a
set nbFreeEdges 10

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_5_g12fgl.rle] a
set nbFreeEdges 10

View File

@ -1 +1,2 @@
restore [locate_data_file CFI901_congefkd.rle] a
set nbFreeEdges 12

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_11_a2fex.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_11_c2ffb.rle] a
set nbFreeEdges 5

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_11_e2fff.rle] a
set nbFreeEdges 12

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_13_a1ffi.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_13_b1ffj.rle] a
set nbFreeEdges 6

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_13_f1ffn.rle] a
set nbFreeEdges 10

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_5_k12fgp.rle] a
set nbFreeEdges 12

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_7_c3_fhq.rle] a
set nbFreeEdges 4

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_cts16288.rle] a
set nbFreeEdges 60

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_indusfjm.rle] a
set nbFreeEdges 10

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_pro12305.rle] a
set nbFreeEdges 14

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_pro12794.rle] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CIN001_a20.rle] a
set nbFreeEdges 74

View File

@ -1 +1,2 @@
restore [locate_data_file 4_O1(hlacg06).draw] a
set nbFreeEdges 8

View File

@ -1 +1,2 @@
restore [locate_data_file CFI_pro11907.rle] a
set nbFreeEdges 5

View File

@ -1,2 +1,3 @@
restore [locate_data_file CFI_pro15441.rle] a
set nb_f ""
set nbFreeEdges 4

View File

@ -1,2 +1,3 @@
restore [locate_data_file CIN901_intcqhmj.rle] a
set nb_f ""
set nbFreeEdges 34

View File

@ -1,2 +1,3 @@
restore [locate_data_file CIN902_intcqhmm.rle] a
set nb_f ""
set nbFreeEdges 10

View File

@ -1,2 +1,3 @@
restore [locate_data_file CIN902_intcqhmn.rle] a
set nb_f ""
set nbFreeEdges 47

View File

@ -1,2 +1,3 @@
restore [locate_data_file CIN902_intcqhmo.rle] a
set nb_f ""
set nbFreeEdges 47

View File

@ -1,2 +1,3 @@
restore [locate_data_file CIN902_intcqhmp.rle] a
set nb_f 4
set nbFreeEdges 19

View File

@ -1,2 +1,4 @@
restore [locate_data_file CIN902_intcqhmr.rle] a
puts "TODO ?#23150 ALL: Error : Number of faults is"
puts "TODO #24592 ALL: Error : Number of free edges is"
set nbFreeEdges ""

View File

@ -1,2 +1,4 @@
restore [locate_data_file CIN902_intcqhms.rle] a
puts "TODO #24592 ALL: Error : Number of free edges is"
set nb_f ""
set nbFreeEdges ""

View File

@ -1,2 +1,4 @@
restore [locate_data_file CNP002_projoiep.rle] a
puts "TODO ?#23150 ALL: Error : Number of faults is"
puts "TODO #24592 ALL: Error : Number of free edges is"
set nbFreeEdges ""

View File

@ -1 +1,2 @@
restore [locate_data_file CNP002_projoieq.rle] a
set nbFreeEdges 32

View File

@ -1 +1,2 @@
restore [locate_data_file CNP002_projoier.rle] a
set nbFreeEdges 39

View File

@ -1 +1,2 @@
restore [locate_data_file CTO904_pro10095b.rle] a
set nbFreeEdges 4