puts "============"
puts "OCC26489"
puts "============"
puts ""
######################################################
# The class ShapeUpgrade_UnifySameDomain provides the results that are wrong or difficult to explain.
######################################################

restore [locate_data_file bug26489_r002.brep] b1

unifysamedom result b1

set nbshapes_expected "
Number of shapes in shape
 VERTEX    : 4
 EDGE      : 4
 WIRE      : 1
 FACE      : 1
 SHELL     : 1
 SOLID     : 0
 COMPSOLID : 0
 COMPOUND  : 1
 SHAPE     : 12
"
checknbshapes result -ref ${nbshapes_expected} -t -m "result provided by the class ShapeUpgrade_UnifySameDomain"

vinit
vsetdispmode 1
vclear
vdisplay result
vfit
vdump ${imagedir}/${casename}.png
