Skip to content

Commit 73cc938

Browse files
committed
tests for emptyinterval(Int) and entireinterval(Int)
1 parent 53949ce commit 73cc938

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/interval_tests/consistency.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ setprecision(Interval, Float64)
3939
@test @biginterval(1, Inf) == Interval{BigFloat}(1.0, Inf)
4040
@test @biginterval(-Inf, 1) == Interval{BigFloat}(-Inf, 1.0)
4141
@test @interval(-Inf, Inf) == entireinterval(Float64)
42+
@test entireinterval(Int) == entireinterval(Float64)
4243
@test emptyinterval(Rational{Int}) ==
44+
@test emptyinterval(Int) ==
4345

4446
@test 1 == zero(a)+one(b)
4547
@test Interval(0,1) + emptyinterval(a) == emptyinterval(a)

0 commit comments

Comments
 (0)