Skip to content

Commit

Permalink
Add test for error message for create_faceset
Browse files Browse the repository at this point in the history
  • Loading branch information
KnutAM committed May 19, 2024
1 parent aeace29 commit 84bd05b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ end
showerror(io, FerriteMeshParser.UnsupportedElementType(test_string))
@test contains(String(take!(io)), test_string)

grid = get_ferrite_grid(gettestfile("compact_tension.inp"))
nset = getnodeset(grid, "Hole")
@test_throws ErrorException("create_faceset is no longer supported, use create_facetset instead") create_faceset(grid, nset)
end

@testset "ordering" begin
Expand Down

0 comments on commit 84bd05b

Please sign in to comment.