Restoring test cases removed by last commit.
[occt.git] / tests / bugs / moddata / bug286
CommitLineData
a87752f3 1puts "TODO OCC12345 ALL: Faulty OCC286: Attempt to project the point on surface gives wrong result."
2puts "========================"
3puts " OCC286 "
4puts "========================"
5puts ""
6
7restore [locate_data_file OCC286a.draw] a
8restore [locate_data_file OCC286b.draw] b
9
10intersect i a b
11cvalue i 0.31 x y z
12point p x y z
13proj b x y z
14
15set err1 ""
16set err2 ""
17set err3 ""
18regexp {Point +: +([-0-9.+eE]+, +[-0-9.+eE]+, +[-0-9.+eE]+)} [dump ext_1] full err1
19regexp {Point +: +([-0-9.+eE]+, +[-0-9.+eE]+, +[-0-9.+eE]+)} [dump ext_2] full err2
20regexp {Point +: +([-0-9.+eE]+, +[-0-9.+eE]+, +[-0-9.+eE]+)} [dump ext_3] full err3
21
22if { $err1 == $err2 || $err1 == $err3 || $err2 == $err3 } {
23 puts "Faulty OCC286: Attempt to project the point on surface gives wrong result."
24} else {
25 puts "OCC286 OK : Attempt to project the point on surface gives correct result"
26}
27
28set 2dviewer 0