1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/tests/bugs/modalg/bug22428
apn 809eca9db6 Added test cases to folders /bugs/modalg and /bugs/moddata from chl grid.
Modified TODO in some offset cases.
Deleted the same test cases bug697_* in /bugs/modalg
Deleted test cases which is based on v2d commands
Added test cases to folder bugs
2013-01-25 16:22:41 +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