-# Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021 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
Compound_1.result().subResult(0).subResult(1).setColor(0, 170, 0)
Compound_1.result().subResult(1).subResult(0).setColor(0, 255, 0)
Compound_1.result().subResult(1).subResult(1).setColor(0, 255, 0)
-Common_1 = model.addCommon(Part_1_doc, [model.selection("SOLID", "LinearCopy_2_1_1_1"), model.selection("COMPOUND", "Compound_1_1_2")], 20190506)
+Common_1 = model.addCommon(Part_1_doc, [model.selection("SOLID", "LinearCopy_2_1_1_1"), model.selection("COMPOUND", "Compound_1_1_2")], keepSubResults = True)
model.testHaveNamingSubshapes(Common_1, model, Part_1_doc)
from GeomAPI import GeomAPI_Shape
model.testNbResults(Common_1, 1)
-model.testNbSubResults(Common_1, [4])
+model.testNbSubResults(Common_1, [3])
model.testNbSubShapes(Common_1, GeomAPI_Shape.SOLID, [7])
model.testNbSubShapes(Common_1, GeomAPI_Shape.FACE, [34])
model.testNbSubShapes(Common_1, GeomAPI_Shape.EDGE, [120])