From 3d393f0c133dab9ac185b22279f93ced2b54c871 Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 8 Nov 2018 16:24:00 +0300 Subject: [PATCH] Restore behavior of symmetry selection of concealed objects (rolled back in August 2018) --- test.API/SHAPER/Transformations/TestSymmetry.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/test.API/SHAPER/Transformations/TestSymmetry.py b/test.API/SHAPER/Transformations/TestSymmetry.py index 009c74e21..bb1bbc623 100644 --- a/test.API/SHAPER/Transformations/TestSymmetry.py +++ b/test.API/SHAPER/Transformations/TestSymmetry.py @@ -185,7 +185,11 @@ model.testNbSubShapes(Symmetry_9, GeomAPI_Shape.SOLID, [2]) model.testNbSubShapes(Symmetry_9, GeomAPI_Shape.FACE, [12]) model.testHaveNamingFaces(Symmetry_9, model, Part_1_doc) -model.testNbResults(Symmetry_10, 0) +model.testNbResults(Symmetry_10, 1) +model.testNbSubResults(Symmetry_10, [2]) +model.testNbSubShapes(Symmetry_10, GeomAPI_Shape.SOLID, [2]) +model.testNbSubShapes(Symmetry_10, GeomAPI_Shape.FACE, [12]) +model.testHaveNamingFaces(Symmetry_10, model, Part_1_doc) model.testNbResults(Symmetry_11, 1) model.testNbSubResults(Symmetry_11, [2]) @@ -217,7 +221,11 @@ model.testNbSubShapes(Symmetry_16, GeomAPI_Shape.SOLID, [2]) model.testNbSubShapes(Symmetry_16, GeomAPI_Shape.FACE, [12]) model.testHaveNamingFaces(Symmetry_16, model, Part_1_doc) -model.testNbResults(Symmetry_17, 0) +model.testNbResults(Symmetry_17, 1) +model.testNbSubResults(Symmetry_17, [2]) +model.testNbSubShapes(Symmetry_17, GeomAPI_Shape.SOLID, [2]) +model.testNbSubShapes(Symmetry_17, GeomAPI_Shape.FACE, [12]) +model.testHaveNamingFaces(Symmetry_17, model, Part_1_doc) model.testNbResults(Symmetry_18, 1) model.testNbSubResults(Symmetry_18, [2]) -- 2.39.2