]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Restore behavior of symmetry selection of concealed objects (rolled back in August...
authormpv <mpv@opencascade.com>
Thu, 8 Nov 2018 13:24:00 +0000 (16:24 +0300)
committermpv <mpv@opencascade.com>
Thu, 8 Nov 2018 13:24:23 +0000 (16:24 +0300)
test.API/SHAPER/Transformations/TestSymmetry.py

index 009c74e217218f52ed9f896a7566b79f427438c7..bb1bbc6237da1ec03a1a562dd154f6777dc3e958 100644 (file)
@@ -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])