Adding of testing cases from subgroups 937 940 and 941 of CHL group
[occt.git] / tests / bugs / modalg_2 / bug399
CommitLineData
d27ea0ef 1if { [array get env os_type] != "" } {
2 set os $env(os_type)
3}
4if { [string compare $os "windows"] != 0 } {
5 puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_2"
6 puts "TODO OCC12345 ALL: Faulty OCC399: Command checkshape works wrongly: Source shape is invalid but this shape must be OK"
57ea2bf0 7### by apn master 16.12.2012
8### puts "TODO OCC12345 ALL: Error : The square of result shape is"
d27ea0ef 9}
a87752f3 10
11puts "========"
12puts "OCC399"
13puts "========"
14puts ""
15#########################################
16## Checkshape gives wrong result for valid face
17#########################################
18
19restore [locate_data_file OCC399.brep] result
20
21set che [checkshape result]
22if { [regexp {Faulty} $che ] == 1 } {
23 puts "Faulty OCC399: Command checkshape works wrongly: Source shape is invalid but this shape must be OK"
24} else {
25 puts "OCC399 OK : Source shape is valid. Command checkshape works properly."
26}
27
d27ea0ef 28set square 4558.53
a87752f3 29set 2dviewer 0