Skip to content

Commit 993623e

Browse files
committed
added more tests
1 parent 2b3d92c commit 993623e

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
@@ -240,6 +240,8 @@ end
240240
@test_throws ArgumentError 2..1
241241
@test_throws ArgumentError π..1
242242
@test_throws ArgumentError π..eeuler
243+
@test_throws ArgumentError 4..π
244+
@test 1..π == Interval(1, π)
243245
end
244246

245247
@testset "± tests" begin

0 commit comments

Comments
 (0)