Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Sep 24, 2024
1 parent a7cc6df commit 4cf67de
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/GmshDiscreteModelsTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,14 @@ test_discrete_model(model)
model2 = Gridap.DiscreteModelFromFile(mshfile)
test_discrete_model(model2)

mshfile = joinpath(@__DIR__,"square.msh")
model = GmshDiscreteModel(mshfile;has_affine_map=true)
test_discrete_model(model)
check_interpolation(model)

mshfile = joinpath(@__DIR__,"cube.msh")
model = GmshDiscreteModel(mshfile;has_affine_map=true)
test_discrete_model(model)
check_interpolation(model)

end # module

0 comments on commit 4cf67de

Please sign in to comment.