Skip to content

Commit

Permalink
Add test for differential in 4D
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold authored Sep 28, 2024
1 parent d5f0d44 commit e278016
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/combinations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
@test_throws DomainError jacobian(curve, [1.1])
end

@testitem "Meshes.Box" setup=[Setup] begin
# Test for currently-unsupported >3D differentials
box4d = Box(Point(zeros(4)...), Point(ones(4))...)
@test_throws "not supported" differential(box4d, fill(0.5, 4))
end

@testitem "Meshes.Cone" setup=[Setup] begin
r = 2.5u"m"
h = 2.5u"m"
Expand Down

0 comments on commit e278016

Please sign in to comment.