0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_2 / bug23158
CommitLineData
809eca9d 1puts "============"
2puts "OCC23158"
3puts "============"
4puts ""
5#######################################################################
6# ApproxInt_PrmPrmSvSurfaces raises FPE (division by zero) signal
7#######################################################################
8
9set BugNumber OCC23158
10
11restore [locate_data_file bug23158_f1.brep] b1
12restore [locate_data_file bug23158_f2.brep] b2
13
14set exception_status [ catch { bop b1 b2 } ]
15
16if { ${exception_status} == 0 } {
17 puts "OK ${BugNumber}"
18} else {
19 puts "Faulty ${BugNumber}"
20}
21