Skip to content

Commit

Permalink
Move jacobian error test into different set
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold authored Oct 14, 2024
1 parent c5e8e33 commit 844cffd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/combinations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ end
@test_throws "not supported" lineintegral(f, box)
@test surfaceintegral(f, box) sol
@test_throws "not supported" volumeintegral(f, box)

# Test jacobian with wrong number of parametric coordinates
@test_throws ArgumentError jacobian(box, zeros(3))
end

@testitem "Meshes.Box 3D" setup=[Setup] begin
Expand Down Expand Up @@ -195,9 +198,6 @@ end
@test_throws "not supported" lineintegral(f, box)
@test_throws "not supported" surfaceintegral(f, box)
@test_throws "not supported" volumeintegral(f, box)

# Test jacobian with wrong number of parametric coordinates
@test_throws ArgumentError jacobian(box, zeros(2))
end

@testitem "Meshes.Circle" setup=[Setup] begin
Expand Down

0 comments on commit 844cffd

Please sign in to comment.