Skip to content

Commit 7e234fa

Browse files
committed
Added tests for Int and Float64.
1 parent b742e6a commit 7e234fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,8 @@ using Base.Test
7979
@test width(ClosedInterval(B, A)) == Base.Dates.Day(0)
8080
@test isempty(ClosedInterval(B, A))
8181
end
82+
83+
@test width(ClosedInterval(3,7)) 4
84+
@test width(ClosedInterval(4.0,8.0)) 4.0
8285
end
8386
end

0 commit comments

Comments
 (0)