Skip to content

Commit

Permalink
add test for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jlchan committed Jan 3, 2024
1 parent f257efb commit c2263c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ area(elem::Tri) = 2.0
num_faces = (elem == Tri()) ? 3 : 4
@test length(NodesAndModes.face_vertices(elem)) == num_faces

if elem == Tri()
a, b = NodesAndModes.abtors(Tri(), r, s)
r2, s2 = NodesAndModes.rstoab(Tri(), a, b)
r3, s3 = NodesAndModes.rstoab(a, b)
@test r r2 r3
@test s s2 s3
end

# check for Kronecker structure
if elem == Quad()
r, s = nodes(elem, N)
Expand Down

0 comments on commit c2263c3

Please sign in to comment.