From e91df0db499c5a3b386ff1c38a8cf12f6b1c955f Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Sat, 9 May 2026 18:26:58 +0300 Subject: [PATCH] chore(test): delete IO postprocess regression Remove retired postprocessing tests tied to legacy IO. - Drop `test/io/test_postprocess.jl`. --- test/io/test_postprocess.jl | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 test/io/test_postprocess.jl diff --git a/test/io/test_postprocess.jl b/test/io/test_postprocess.jl deleted file mode 100644 index 402ed39..0000000 --- a/test/io/test_postprocess.jl +++ /dev/null @@ -1,23 +0,0 @@ -# This file is a part of JuliaFEM. -# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md - -using JuliaFEM, Test - -## interpolate from a set of elements - -element1 = Element(Seg2, (1, 2)) -element2 = Element(Seg2, (2, 3)) -X = Dict(1 => [0.0], 2 => [1.0], 3 => [2.0]) -T = Dict(1 => [0.0], 2 => [1.0], 3 => [0.0]) -problem = Problem(Heat, "foo", 1) -add_elements!(problem, element1, element2) -problem_elements = get_elements(problem) -update!(problem_elements, "geometry", X) -update!(problem_elements, "temperature", T) -@test isnan(problem("temperature", [-0.1], 0.0)) -@test isapprox(problem("temperature", [0.0], 0.0), [0.0]) -@test isapprox(problem("temperature", [0.5], 0.0), [0.5]) -@test isapprox(problem("temperature", [1.0], 0.0), [1.0]) -@test isapprox(problem("temperature", [1.5], 0.0), [0.5]) -@test isapprox(problem("temperature", [2.0], 0.0), [0.0]) -@test isnan(problem("temperature", [ 2.1], 0.0))