mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
allow small deviations in quality class
This commit is contained in:
parent
c98ecafa2f
commit
8118190af4
@ -28,7 +28,7 @@ def checkData(mesh, mp, ref):
|
||||
assert ref['ne1d'] == data['ne1d']
|
||||
assert ref['ne2d'] == data['ne2d']
|
||||
assert ref['ne3d'] == data['ne3d']
|
||||
assert ref['quality_histogram'] == data['quality_histogram']
|
||||
assert json.loads(ref['quality_histogram']) == pytest.approx(json.loads(data['quality_histogram']), abs=1, rel=0.4)
|
||||
assert ref['total_badness'] == pytest.approx(data['total_badness'], rel=1e-5)
|
||||
|
||||
# get tutorials
|
||||
|
Loading…
Reference in New Issue
Block a user