Restoring test cases removed by last commit.
[occt.git] / tests / bugs / moddata / bug271
CommitLineData
a87752f3 1
2puts "========================"
3puts " OCC271 "
4puts "========================"
5puts ""
6
7restore [locate_data_file OCC271a.rle] su1
8restore [locate_data_file OCC271b.rle] su2
9
10set U1 2.315721254379057e-16
11set U2 0.01131870392278708
12set V1 226.9760100729095
13set V2 203.7283534809051
14
15intersect result su1 su2 $U1 $V1 $U2 $V2
16
17set che [whatis result]
18
19if { ![regexp {3d} $che] || ![regexp {curve} $che]} {
20 puts "Faulty OCC271: command INTERSECT works wrongly"
21} else {
22 puts "OCC271 OK : command INTERSECT works properly"
23}
24
25set 2dviewer 0
26