Skip to content

Commit 53949ce

Browse files
committed
added a few more tests for invalid input with ..
1 parent e495251 commit 53949ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/interval_tests/construction.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ end
241241
@test_logs (:warn, ) @test isempty..1)
242242
@test_logs (:warn, ) @test isempty..eeuler)
243243
@test_logs (:warn, ) @test isempty(4..π)
244+
@test_logs (:warn, ) @test isempty(NaN..3)
245+
@test_logs (:warn, ) @test isempty(3..NaN)
244246
@test 1..π == Interval(1, π)
245247
end
246248

0 commit comments

Comments
 (0)