Skip to content

Commit

Permalink
A couple extra tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Dec 14, 2017
1 parent 0e102d6 commit 4d5088e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ using Compat.Test
@test sprint(show, EventTime(1, false)) == "1+"

@test convert(Int, EventTime(1)) == 1
@test convert(Int, EventTime(1, false)) == 1
@test convert(Float64, EventTime(1)) == 1.0
@test convert(EventTime, 1) == EventTime(1)

@test isless(EventTime(1), EventTime(1, false))
Expand Down

0 comments on commit 4d5088e

Please sign in to comment.