Added test cases to folders /bugs/modalg and /bugs/moddata from chl grid.
[occt.git] / tests / bugs / moddata / bug23175
1 puts "============"
2 puts "OCC23175"
3 puts "============"
4 puts ""
5 ####################################################################################
6 # Failed to segment a periodic B-Spline when parameter coincides with existing knot
7 ####################################################################################
8
9 set BugNumber OCC23175
10
11 restore [locate_data_file OCC23175-bspline-per-3_draw] result 
12
13 catch { segment result 1 2.5 } msg
14
15 set exception_status 0
16 set index [lsearch $msg exception]
17 if {$index > -1} {
18     set exception_status 1
19 }
20
21 if { ${exception_status} != 0 } {
22     puts "Faulty ${BugNumber}"
23 } else {
24     puts "OK ${BugNumber}"
25 }
26
27 set 2dviewer 0
28
29