1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_2/bug22428
ski a8676008f7 Adding of testing cases from subgroups 937 940 and 941 of CHL group
Splitting of subgroups bugs/modalg and bugs/moddata to optimise time of testing
Correction of end file in group v3d
Small correction of test case
2013-02-08 15:16:15 +04:00

31 lines
1017 B
Plaintext
Executable File

puts "================"
puts "OCC22428"
puts "================"
puts ""
##########################################################################################
# The shape is valid on Linux but non-valid on Windows. Appendix for SALOME PARTITION_S2
##########################################################################################
set BugNumber OCC22428
restore [locate_data_file bug22428_f1.brep] result
set info [ checkshape result ]
set word1 [string compare [lindex ${info} end] "valid"]
set word2 [string compare [lindex ${info} end-1] "be"]
set word3 [string compare [lindex ${info} end-2] "to"]
set word4 [string compare [lindex ${info} end-3] "seems"]
set word5 [string compare [lindex ${info} end-4] "shape"]
set word6 [string compare [lindex ${info} end-5] "This"]
# Resume
puts ""
if { ${word1} == 0 && ${word2} == 0 && ${word3} == 0 && ${word4} == 0 && ${word5} == 0 && ${word6} == 0} {
puts "OK ${BugNumber}"
} else {
puts "Faulty ${BugNumber}"
}
set square 7837.39
set 3dviewer 0