very simple test

This commit is contained in:
Martin Diehl 2020-05-22 19:04:02 +02:00
parent 11eda510aa
commit 7bd681a5ed
2 changed files with 5 additions and 1 deletions

View File

@ -1041,7 +1041,7 @@ class Result:
pool.join()
def write_XMDF(self):
def write_XDMF(self):
"""
Write XDMF file to directly visualize data in DADF5 file.

View File

@ -185,3 +185,7 @@ class TestResult:
in_memory = mechanics.left_stretch(default.read_dataset(loc['F'],0))
in_file = default.read_dataset(loc['V(F)'],0)
assert np.allclose(in_memory,in_file)
@pytest.mark.parametrize('output',['F',[],['F','P']])
def test_vtk(self,default,output):
default.to_vtk(output)