Skip to content

Commit

Permalink
Add a test_throws
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Jan 20, 2025
1 parent 90b5859 commit cba7a2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1252,6 +1252,7 @@ end
@test norm(f(T(1), T(0), T(0)) - f(T(0), T(0), T(0))) radius(db)
@test f(T(0), T(0), T(1)) == center(dt)
@test norm(f(T(1), T(0), T(1)) - f(T(0), T(0), T(1))) radius(db)
@test_throws DomainError f(T(0), T(0), T(1.5))

@test_throws AssertionError Frustum(db, db)

Expand Down

0 comments on commit cba7a2a

Please sign in to comment.