Skip to content

Commit

Permalink
set start and end years for imm rates test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed May 31, 2024
1 parent 6642061 commit dda53bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_demographics.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def test_get_pop_objs_read_UN_data():
GraphDiag=False,
)

assert isinstance(pop_dict, dict)


def test_get_pop_objs():
"""
Expand Down Expand Up @@ -286,6 +288,8 @@ def test_get_imm_rates():
mort_rates=mort_rates,
infmort_rates=infmort_rates,
pop_dist=pop_dist,
start_year=2024,
end_year=2025,
graph=True,
)
assert imm_rates.shape[1] == S
Expand Down

0 comments on commit dda53bf

Please sign in to comment.