Skip to content

Commit 4cf67de

Browse files
committed
Added tests
1 parent a7cc6df commit 4cf67de

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/GmshDiscreteModelsTests.jl

+10
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,14 @@ test_discrete_model(model)
9797
model2 = Gridap.DiscreteModelFromFile(mshfile)
9898
test_discrete_model(model2)
9999

100+
mshfile = joinpath(@__DIR__,"square.msh")
101+
model = GmshDiscreteModel(mshfile;has_affine_map=true)
102+
test_discrete_model(model)
103+
check_interpolation(model)
104+
105+
mshfile = joinpath(@__DIR__,"cube.msh")
106+
model = GmshDiscreteModel(mshfile;has_affine_map=true)
107+
test_discrete_model(model)
108+
check_interpolation(model)
109+
100110
end # module

0 commit comments

Comments
 (0)