-# Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+# Copyright (C) 2014-2020 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Edge_1 = model.addEdge(Part_1_doc, [model.selection("EDGE", "Sketch_2/SketchLine_9")])
Extrusion_2 = model.addExtrusion(Part_1_doc, [model.selection("EDGE", "Edge_1_1")], model.selection("EDGE", "PartSet/OZ"), 13, 3)
Compound_1 = model.addCompound(Part_1_doc, [model.selection("COMPSOLID", "Extrusion_1_1"), model.selection("FACE", "Extrusion_2_1")])
-Fuse_1 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Compound_1_1_1_1")], [model.selection("SOLID", "LinearCopy_2_1_1_1")], False, 20190506)
+Fuse_1 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Compound_1_1_1_1")], [model.selection("SOLID", "LinearCopy_2_1_1_1")], False, keepSubResults = True)
model.testHaveNamingSubshapes(Fuse_1, model, Part_1_doc)
from GeomAPI import GeomAPI_Shape
model.testNbResults(Fuse_1, 1)
-model.testNbSubResults(Fuse_1, [4])
+model.testNbSubResults(Fuse_1, [3])
model.testNbSubShapes(Fuse_1, GeomAPI_Shape.SOLID, [7])
model.testNbSubShapes(Fuse_1, GeomAPI_Shape.FACE, [32])
model.testNbSubShapes(Fuse_1, GeomAPI_Shape.EDGE, [94])