Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Benet committed Jun 30, 2018
1 parent 0b9d01b commit e0eaa54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/interval_tests/numeric.jl
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ end
@test mod(a, -2.5) == -2.5..0
@test mod(a, -0.5) == -0.5..0

a = pi_interval()
a = pi_interval(Float64)
@test mod(a, pi) == interval(0.0, a.hi-pi)
@test mod(2a, pi) == interval(0.0, 2*(a.hi-pi))
@test mod(1.5a, pi) == interval(0.5a.lo, 1.5a.hi-pi)
Expand Down

0 comments on commit e0eaa54

Please sign in to comment.