Correction of unstable testing cases
[occt.git] / tests / bugs / moddata_1 / bug20524
CommitLineData
3bea4c16 1puts "========================"
2puts "OCC20524"
3puts "========================"
4puts ""
5#######################################################################
6# Wrong intersection
7#######################################################################
8
9set BugNumber OCC20524
10
11restore [locate_data_file OCC20524-surf1.draw] surf1
12restore [locate_data_file OCC20524-surf2.draw] surf2
13
14intersect result surf1 surf2
15
16set che [whatis result]
17if { ![regexp {3d curve} $che] } {
18 puts "Faulty ${BugNumber}: command INTERSECT works wrongly"
19} else {
20 puts "${BugNumber} OK : command INTERSECT works properly"
21}
22