mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
[testing] Increase tolerance for angles
This commit is contained in:
parent
9ebc6b00f3
commit
96a9141199
@ -41,8 +41,8 @@ def checkData(mesh, mp, ref):
|
|||||||
assert ref['ne3d'] == data['ne3d']
|
assert ref['ne3d'] == data['ne3d']
|
||||||
assert json.loads(ref['quality_histogram']) == pytest.approx(json.loads(data['quality_histogram']), abs=1, rel=0.4)
|
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)
|
assert ref['total_badness'] == pytest.approx(data['total_badness'], rel=1e-5)
|
||||||
assert ref['angles_trig'] == pytest.approx(data['angles_trig'], rel=1e-5)
|
assert ref['angles_trig'] == pytest.approx(data['angles_trig'], rel=1e-4)
|
||||||
assert ref['angles_tet'] == pytest.approx(data['angles_tet'], rel=1e-5)
|
assert ref['angles_tet'] == pytest.approx(data['angles_tet'], rel=1e-4)
|
||||||
|
|
||||||
# get tutorials
|
# get tutorials
|
||||||
def getFiles(fileEnding):
|
def getFiles(fileEnding):
|
||||||
|
Loading…
Reference in New Issue
Block a user