X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test.hdfs%2Fte_fluide.py;fp=test.hdfs%2Fte_fluide.py;h=25ea15af0f932e720aef846d473c1adf26dee735;hb=f804e40d789ae3740d51a05e6b0d9d304f48c79b;hp=0000000000000000000000000000000000000000;hpb=d919032b5524c117eb8b740e0a7a027e73619178;p=modules%2Fshaper.git diff --git a/test.hdfs/te_fluide.py b/test.hdfs/te_fluide.py new file mode 100644 index 000000000..25ea15af0 --- /dev/null +++ b/test.hdfs/te_fluide.py @@ -0,0 +1,27 @@ +# Copyright (C) 2014-2019 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 +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +if __name__ == "__main__": + 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])