test(basis): load JuliaFEM in gradient property checks

Ensure gradient identities run against the same API users import, not a bespoke
subset of source files.

- Replace relative includes with `using JuliaFEM`.
This commit is contained in:
Jukka Aho
2026-05-09 18:43:14 +03:00
parent 094e2a1dc5
commit fb3056e513
+1 -10
View File
@@ -2,16 +2,7 @@
using Test
using StaticArrays, Tensors
include("../../src/topology/api.jl")
include("../../src/topology/segments.jl")
include("../../src/topology/triangles.jl")
include("../../src/topology/quadrilaterals.jl")
include("../../src/topology/tetrahedra.jl")
include("../../src/topology/hexahedra.jl")
include("../../src/topology/pyramids.jl")
include("../../src/topology/wedges.jl")
include("../../src/basis/api.jl")
include("../../src/basis/basis_generated.jl")
using JuliaFEM
@testset "Gradient Properties" begin
@testset "Linear elements - constant gradients" begin