0025945: Make stable checking of shape global properties in tests
[occt.git] / tests / bugs / modalg_6 / bug26554
1 puts "============"
2 puts "OCC26554"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Error in IntPatch_PrmPrmIntersection: initial step for walking line is not related with actual tolerance
7 #######################################################################
8
9 restore [locate_data_file bug26554_a.brep] a
10 restore [locate_data_file bug26554_b.brep] b
11
12 bop a b
13 bopsection result
14
15 checkprops result -l 0.00502025 
16 checkshape result 
17 checksection result
18
19 set nbshapes_expected "
20 Number of shapes in shape
21  VERTEX : 2
22  EDGE : 1
23  WIRE : 0
24  FACE : 0
25  SHELL : 0
26  SOLID : 0
27  COMPSOLID : 0
28  COMPOUND : 1
29  SHAPE : 4
30
31 "
32 checknbshapes result -ref ${nbshapes_expected} -t -m "result"
33
34 set 2dviewer 1