Salome HOME
Copyright update 2022
[modules/shaper.git] / src / BuildPlugin / Test / Test20513_2.py
index 0809e739e990f77b9b1fe72ecb5792ca006e5ba3..52bbfe3801a4670d2b676dbed7f33ef0f3ffe30c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2021  CEA/DEN, EDF R&D
+# Copyright (C) 2021-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
@@ -1121,7 +1121,7 @@ model.testNbSubShapes(Filling_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Filling_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Filling_1, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Filling_1, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Filling_1, [28.94082894])
+model.testResultsAreas(Filling_1, [28.94082894])
 
 model.testNbResults(Filling_2, 1)
 model.testNbSubResults(Filling_2, [0])
@@ -1129,7 +1129,7 @@ model.testNbSubShapes(Filling_2, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Filling_2, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Filling_2, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Filling_2, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Filling_2, [29.198793093])
+model.testResultsAreas(Filling_2, [29.10364506])
 
 model.testNbResults(Filling_3, 1)
 model.testNbSubResults(Filling_3, [0])
@@ -1137,6 +1137,6 @@ model.testNbSubShapes(Filling_3, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Filling_3, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Filling_3, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Filling_3, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Filling_3, [30.74501422428])
+model.testResultsAreas(Filling_3, [30.744277238])
 
 assert(model.checkPythonDump())