Skip to content

Commit

Permalink
add test for px
Browse files Browse the repository at this point in the history
  • Loading branch information
alecloudenback committed Mar 31, 2019
1 parent 4a4235e commit e72577d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ t = MortalityTable(maleMort)
@testset "mortality" begin
@testset "single life" begin
@test 0.00699 qx(t,0)
@test qx(t,0) 1 - px(t,0)
@test 0.000447 qx(t,1)
@test 1000.0 == lx(t,0)
@test 993.010 lx(t,1)
Expand Down

0 comments on commit e72577d

Please sign in to comment.