0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_7 / bug30778
CommitLineData
ce64c9ad 1puts "========"
2puts "0030778: \[Regression to 7.3.0\] Extrema raises excep-tion StdFail_InfiniteSolutions"
3puts "========"
4puts ""
5
6restore [locate_data_file bug30778.brep] a
7explode a
8pcurve c1 a_1 a_3
9pcurve c2 a_2 a_3
10trim c1 c1 0.0833292423088664 1
11trim c2 c2 0 0.91666977216245
12
13set out [2dextrema c1 c2]
14
15regexp {distance = ([0-9+-.eE]*)} $out full dist
16
17checkreal distance $dist 0 1e-9 0