From f332fe9ad187e2384beb99014464492e70cc1552 Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Sat, 9 May 2026 18:44:49 +0300 Subject: [PATCH] test(dofs): run multifield and facet-map integration suite The DOF runner now exercises the type-stable handler path end-to-end (multi-field templates, facet orientation maps, and higher-order hex facets) instead of the retired field-unification stub. - Replace `test_field_unification.jl` with global ranges, multifield wiring, and facet-map coverage across tet/wedge/pyramid/tet10/hex20 shapes. - Drop the unused `Tensors` import and the old header docstring. --- test/dofs/runtests.jl | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/test/dofs/runtests.jl b/test/dofs/runtests.jl index 53a0516..d31bf88 100644 --- a/test/dofs/runtests.jl +++ b/test/dofs/runtests.jl @@ -1,23 +1,16 @@ -# This file is a part of JuliaFEM. -# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE - -""" -DOF System Test Suite - -Runs all tests for the DOF (Degree of Freedom) system. - -Usage: - julia --project=. test/dofs/runtests.jl -""" - using Test using JuliaFEM -using Tensors -# All DOF types and functions are in flat JuliaFEM namespace - -@testset "DOF System Tests" begin - @testset "Field Type Unification" begin - include("test_field_unification.jl") - end +@testset "DOF system" begin + # End-to-end multi-field exercise: DOFSet -> Element template -> + # DOFHandler -> DOFConnectivity -> field_dof_range / element_dofs. + include("test_global_field_ranges.jl") + include("test_multifield_dof_system.jl") + include("test_hex8_face_dofs.jl") + include("test_tet4_facet_maps.jl") + include("test_wedge6_facet_maps.jl") + include("test_pyr5_facet_maps.jl") + include("test_tet10_facet_maps.jl") + include("test_hex20_facet_maps.jl") + include("test_multicomponent_facet_dofs.jl") end