0028217: Error handling is not thread safe and causing memory corruption and sporadic...
[occt.git] / tests / bugs / fclasses / bug25635_1
1 puts "============"
2 puts "OCC25635"
3 puts "============"
4 puts ""
5 ######################################################
6 # Wrong result of 2D-extrema between two ellipsis
7 ######################################################
8
9 ellipse c1 0 0 2 1
10 ellipse c2 4 0 2 1
11
12 set info [2dextrema c1 c2]
13
14 set tol_abs 7.e-5
15 set tol_rel 0.01
16
17 # Check result distance.
18 regexp "dist 1: +(\[-0-9.+eE\]+)" ${info} full dist_1
19
20 set expected_dist_1 0.
21 checkreal "Distance" ${dist_1} ${expected_dist_1} ${tol_abs} ${tol_rel}