Salome HOME
Merge branch 'csgroup_IS2'
[modules/shaper.git] / test.hdfs / usine.py
index 25ea15af0f932e720aef846d473c1adf26dee735..bd800bdc08aa5b103a2b50be2e203d6e63787c0e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  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, [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])