Salome HOME
cas-test n°2
[modules/shaper.git] / test.hdfs / delta_p.py
index 25ea15af0f932e720aef846d473c1adf26dee735..686665bbad6320c4e477cc4541347fa255128974 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2022  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
 #
 
 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, [319])
+  model.testNbSubShapes(aPartFeature, GeomAPI_Shape.FACE, [2138])
+  model.testNbSubShapes(aPartFeature, GeomAPI_Shape.EDGE, [9022])
+  model.testNbSubShapes(aPartFeature, GeomAPI_Shape.VERTEX, [18044])
+  model.testResultsVolumes(aPartFeature, [0.0837941287])