0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_5 / bug25225_2
CommitLineData
9ffd84ad 1puts "============"
2puts "OCC25225"
3puts "============"
4puts ""
5#######################################################################
6# Failure of 2d offset algorithm on two wires with arc
7#######################################################################
8
9restore [locate_data_file bug25225_2869_open.brep] a
10
11if [catch { mkoffset resoffset a 1 -10} ] {
12 puts "Error : mkoffset is wrong"
13} else {
14 renamevar resoffset_1 result
15
16 set length 416.777
17
a4eba920 18 checknbshapes result -vertex 7 -edge 7 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 15
9ffd84ad 19}
20
21set 2dviewer 1