very simple test
This commit is contained in:
parent
11eda510aa
commit
7bd681a5ed
|
@ -1041,7 +1041,7 @@ class Result:
|
||||||
pool.join()
|
pool.join()
|
||||||
|
|
||||||
|
|
||||||
def write_XMDF(self):
|
def write_XDMF(self):
|
||||||
"""
|
"""
|
||||||
Write XDMF file to directly visualize data in DADF5 file.
|
Write XDMF file to directly visualize data in DADF5 file.
|
||||||
|
|
||||||
|
|
|
@ -185,3 +185,7 @@ class TestResult:
|
||||||
in_memory = mechanics.left_stretch(default.read_dataset(loc['F'],0))
|
in_memory = mechanics.left_stretch(default.read_dataset(loc['F'],0))
|
||||||
in_file = default.read_dataset(loc['V(F)'],0)
|
in_file = default.read_dataset(loc['V(F)'],0)
|
||||||
assert np.allclose(in_memory,in_file)
|
assert np.allclose(in_memory,in_file)
|
||||||
|
|
||||||
|
@pytest.mark.parametrize('output',['F',[],['F','P']])
|
||||||
|
def test_vtk(self,default,output):
|
||||||
|
default.to_vtk(output)
|
||||||
|
|
Loading…
Reference in New Issue