Adding test cases from grid chl
[occt.git] / tests / bugs / modalg / bug399
CommitLineData
a87752f3 1puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_2"
2puts "TODO OCC12345 ALL: Faulty OCC399: Command checkshape works wrongly: Source shape is invalid but this shape must be OK"
3puts "TODO OCC12345 ALL: Error : The square of result shape is"
4
5puts "========"
6puts "OCC399"
7puts "========"
8puts ""
9#########################################
10## Checkshape gives wrong result for valid face
11#########################################
12
13restore [locate_data_file OCC399.brep] result
14
15set che [checkshape result]
16if { [regexp {Faulty} $che ] == 1 } {
17 puts "Faulty OCC399: Command checkshape works wrongly: Source shape is invalid but this shape must be OK"
18} else {
19 puts "OCC399 OK : Source shape is valid. Command checkshape works properly."
20}
21
22set square 0
23set 2dviewer 0