Salome HOME
updated copyright message
[modules/shaper.git] / src / ParametersPlugin / Test / Test2392.py
index b328c7f48654c42758639a8c7ed097db76abe817..9f2b8bbc13de1bc9f546bcd07fc96f4998a9e12e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2014-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
@@ -49,7 +49,9 @@ model.do()
 aSession.setActiveDocument(Part_1_doc, False)
 model.end()
 
+import math
+TOLERANCE = 1.e-7
 # check the circle radius value
-assert(SketchCircle_1.radius().value() == 64.9545)
+assert(math.fabs(SketchCircle_1.radius().value() - 64.95456276) < TOLERANCE)
 
 assert(model.checkPythonDump())