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