-# Copyright (C) 2019 CEA/DEN, EDF R&D
+# Copyright (C) 2019-2023 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
import math
from GeomAlgoAPI import *
-aResultArea = GeomAlgoAPI_ShapeTools_area(Partition_1.results()[0].resultSubShapePair()[0].shape())
+aResultArea = GeomAlgoAPI_ShapeTools.area(Partition_1.results()[0].resultSubShapePair()[0].shape())
anExpectedArea = 70.18465
assert(math.fabs(aResultArea-anExpectedArea)/anExpectedArea<1e-7)