Adding test cases from chl grid
[occt.git] / tests / bugs / modalg / bug23114
CommitLineData
809eca9d 1puts "================"
2puts "OCC23114"
3puts "================"
4puts ""
5#######################################################################################
6# Extrema algorithm throws the exception
7######################################################################################
8
9set BugNumber OCC23114
10
11restore [locate_data_file OCC23114-c1.draw] c1
12restore [locate_data_file OCC23114-c2.draw] c2
13trim c1t c1 6.8444417666253693e-010 3.3201579728233819e-007
14trim c2t c2 0.57529999999422077 0.99999999996162448
15set exception_status [ catch { extrema c1t c2t } ]
16
17if { ${exception_status} == 0 } {
18 puts "OK ${BugNumber}"
19} else {
20 puts "Faulty ${BugNumber}"
21}
22
23set 3dviewer 0