From: Christophe Bourcier Date: Tue, 28 May 2019 12:31:46 +0000 (+0200) Subject: Increase tolerance in test area to success with MeshGems 2.9 X-Git-Tag: V9_4_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c93ef0935428275e9603cf09fa7b8923550128e9;p=plugins%2Fhybridplugin.git Increase tolerance in test area to success with MeshGems 2.9 --- diff --git a/tests/layers_imprinting.py b/tests/layers_imprinting.py index 8187bf3..f605929 100644 --- a/tests/layers_imprinting.py +++ b/tests/layers_imprinting.py @@ -199,7 +199,7 @@ for name in faces_imprinted: assert area_error_1 < 0.025 # Compare mesh group with imprinting and mesh group without imprinting area_error_2 = abs(smesh.GetArea(gr_1)-smesh.GetArea(gr_2))/smesh.GetArea(gr_1) - assert area_error_2 < 1e-10 + assert area_error_2 < 1e-08 # Compare whole mesh volume mesh_2_volume = Mesh_2.GetVolume()