Restoring test cases removed by last commit.
[occt.git] / tests / bugs / moddata / bug303_2
CommitLineData
a87752f3 1puts "========================"
2puts " OCC303 "
3puts "(case 2)"
4puts "========================"
5puts ""
6#################################################################
7## Exception while segment operation.
8#################################################################
9
10restore [locate_data_file OCC303b.brep] sh1
11
12explode sh1 e
13
14mkcurve c1 sh1_1
15trim result c1
16
17if [catch {segment result 23.09944997429109 23.6320483505636} catch_result] {
18 puts "Faulty OCC303 (case 2): function SEGMENT works wrongly"
19} else {
20 puts "OCC303 OK (case 2): function SEGMENT works properly"
21}
22
23set 2dviewer 0