X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test.hdfs%2Fusine.py;h=1d399442a2fe010df9e574c26b4f743e571f361f;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=25ea15af0f932e720aef846d473c1adf26dee735;hpb=08486593ffb6de9585dc3c76e23579141a4b025f;p=modules%2Fshaper.git diff --git a/test.hdfs/usine.py b/test.hdfs/usine.py index 25ea15af0..1d399442a 100644 --- a/test.hdfs/usine.py +++ b/test.hdfs/usine.py @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2019 CEA/DEN, EDF R&D +# Copyright (C) 2014-2023 CEA, EDF # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -18,10 +18,11 @@ # if __name__ == "__main__": + aPartFeature = locals()["Part_1"] model.testNbResults(aPartFeature, 1) model.testNbSubResults(aPartFeature, [0]) - model.testNbSubShapes(aPartFeature, GeomAPI_Shape.SOLID, [30]) - model.testNbSubShapes(aPartFeature, GeomAPI_Shape.FACE, [231]) - model.testNbSubShapes(aPartFeature, GeomAPI_Shape.EDGE, [968]) - model.testNbSubShapes(aPartFeature, GeomAPI_Shape.VERTEX, [1936]) - model.testResultsVolumes(aPartFeature, [1429610.103267467]) + model.testNbSubShapes(aPartFeature, GeomAPI_Shape.SOLID, [186]) + model.testNbSubShapes(aPartFeature, GeomAPI_Shape.FACE, [4573]) + model.testNbSubShapes(aPartFeature, GeomAPI_Shape.EDGE, [25474]) + model.testNbSubShapes(aPartFeature, GeomAPI_Shape.VERTEX, [50980]) + model.testResultsVolumes(aPartFeature, [2688153.285910513252])