0024326: Get rid of confusing extension line
[occt.git] / tests / bugs / modalg_5 / bug23706_34
CommitLineData
32ca7a51 1puts "========"
2puts "OCC23706"
3puts "========"
4puts ""
5####################################
6## Cannot project point on curve
7####################################
8
9set x -4.0
10set y 4.0
11set z 1.0
12set pp_ch1 1
13set pp_ch2 1
14set pp_ch3 2
15
16restore [locate_data_file bug23706_c04.draw] c
17set info [proj c $x $y $z]
18
19regexp {parameter 1 += +([-0-9.+eE]+)} $info full pp1
20regexp {parameter 2 += +([-0-9.+eE]+)} $info full pp2
21regexp {parameter 3 += +([-0-9.+eE]+)} $info full pp3
22if { $pp1 != $pp_ch1 || $pp2 != $pp_ch2 || $pp3 != $pp_ch3 } {
23 puts "Error : Projection is not correct"
24} else {
25 puts "OK: Projection is correct"
26}