Skip to content

Commit

Permalink
fix IO test
Browse files Browse the repository at this point in the history
  • Loading branch information
aelligp committed Nov 12, 2024
1 parent 294b585 commit 0760b2d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion test/test_IO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,24 @@ using WriteVTK
xci,
data_v,
data_c,
velocity_v
velocity_v,
time,
)
@test isfile(joinpath(dst, "vtk_000001_1.vti"))
@test isfile(joinpath(dst, "vtk_000001_2.vti"))
@test isfile(joinpath(dst, "vtk_000001.vtm"))


save_vtk(
joinpath(dst, "vtk_" * lpad("1", 6, "0")),
xci,
data_c,
velocity_v,
time,
)

@test isfile(joinpath(dst, "vtk_000001.vti"))

save_vtk(
joinpath(dst, "vtk_" * lpad("2", 6, "0")),
xci,
Expand Down

0 comments on commit 0760b2d

Please sign in to comment.