Skip to content

Commit

Permalink
Merge 5a99202 into 752ae8b
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Dec 8, 2018
2 parents 752ae8b + 5a99202 commit be8f38a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,10 @@ end
@test unit(lookback_time(u, c, 4)) == u
end
end

@testset "Utilities" begin
c = cosmology(h = 0.7)
@test hubble_time(c, 0) Cosmology.hubble_time0(c)
@test hubble_dist(c, 0) Cosmology.hubble_dist0(c)
@test H(c, 0) 70u"km/s/Mpc"
end

0 comments on commit be8f38a

Please sign in to comment.