Skip to content

Commit

Permalink
Update runtests.jl
Browse files Browse the repository at this point in the history
Account for new version of main
  • Loading branch information
pauljuerss authored Feb 28, 2024
1 parent fa627f0 commit 103d207
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,10 @@ using Test
im2 = ellipsoidPhantom(N; rng=StableRNG(1))
@test im im2
@test size(im) == N

im = ellipsoidPhantom((20,20); allowOcclusion=true)
@test maximum(im) <= 1

@test_throws ArgumentError ellipsoidPhantom((20,20,20,20))
end
end

0 comments on commit 103d207

Please sign in to comment.