Skip to content

Commit

Permalink
test L_per_sfr in popIII test problem
Browse files Browse the repository at this point in the history
  • Loading branch information
mirochaj committed Nov 21, 2021
1 parent 585bfc8 commit d097c8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_populations_popIII.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ def test():
assert 60 <= sim.nu_C <= 115, "Global signal unreasonable!"
assert -250 <= sim.dTb_C <= -150, "Global signal unreasonable!"

# Make sure L_per_sfr works
assert sim.pops[2].src.L_per_sfr() > sim.pops[0].src.L_per_sfr()


if __name__ == '__main__':
test()

0 comments on commit d097c8f

Please sign in to comment.