From a8bd2f2fa79d553fae8bc8c40d16caf13ccc0169 Mon Sep 17 00:00:00 2001 From: Juan Ignacio Polanco Date: Wed, 18 Sep 2024 14:51:22 +0200 Subject: [PATCH] Fix tests? --- src/gridtypes/multiblock.jl | 1 + test/structured.jl | 1 + 2 files changed, 2 insertions(+) diff --git a/src/gridtypes/multiblock.jl b/src/gridtypes/multiblock.jl index 87c8e45..da2ce4b 100644 --- a/src/gridtypes/multiblock.jl +++ b/src/gridtypes/multiblock.jl @@ -10,6 +10,7 @@ struct VTKBlock VTKBlock(xelm) = new(xelm, Union{VTKFile,VTKBlock}[]) end +Base.close(vtb::VTKBlock) = vtk_save(vtb) xml_block_root(vtb::VTKBlock) = vtb.xelm """ diff --git a/test/structured.jl b/test/structured.jl index 326192a..c774606 100644 --- a/test/structured.jl +++ b/test/structured.jl @@ -2,6 +2,7 @@ using WriteVTK using StaticArrays: SVector +using Test const FloatType = Float32 const vtk_filename_noext = "structured"