]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/Test/TestRevolutionOfEdge.py
Salome HOME
Improve GeomAlgoAPI_ShapeTools::volume() method to return the volume of the shape...
[modules/shaper.git] / src / FeaturesPlugin / Test / TestRevolutionOfEdge.py
index 2e33b79ef37d7312e2ca08e36460420ad314184e..36cdbe00e490b7f007c00021aabbfd6f7cb64050 100644 (file)
@@ -36,7 +36,7 @@ model.testNbSubShapes(Revolution_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Revolution_1, [666.43244])
+model.testResultsAreas(Revolution_1, [666.43244])
 
 Revolution_1.setPlanesAndOffsets(model.selection("FACE", "PartSet/YOZ"), 0, model.selection("FACE", "PartSet/XOZ"), 0)
 
@@ -46,7 +46,7 @@ model.testNbSubShapes(Revolution_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Revolution_1, [333.21622])
+model.testResultsAreas(Revolution_1, [333.21622])
 
 model.end()