0027109: Modifiy test cases using procedure checklength
[occt.git] / tests / bugs / modalg_5 / bug25380
CommitLineData
1eaf1cc1 1puts "================"
2puts "OCC25380"
3puts "================"
4puts ""
5#######################################################################
6# Intersection curve cannot reach boundary of surface
7#######################################################################
8
9restore [locate_data_file bug25380_b1.brep] b1
10restore [locate_data_file bug25380_b2.brep] b2
11
12set log [bopcurves b1 b2]
13
14regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} ${log} full Toler NbCurv
15set MaxTol 1.e-11
16if {${Toler} > ${MaxTol}} {
17 puts "Error: Tolerance is too big!"
18}
3ad6d001 19checklength c_1 -l 1.614
1eaf1cc1 20
21smallview
22donly c_1 b1
23fit
24display b2
25
26set only_screen_axo 1