Skip to content

Commit

Permalink
Added tests for Int and Float64.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpapp committed Nov 18, 2016
1 parent b742e6a commit 7e234fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,8 @@ using Base.Test
@test width(ClosedInterval(B, A)) == Base.Dates.Day(0)
@test isempty(ClosedInterval(B, A))
end

@test width(ClosedInterval(3,7)) 4
@test width(ClosedInterval(4.0,8.0)) 4.0
end
end

0 comments on commit 7e234fa

Please sign in to comment.