icecube / FIRESONG

FIRst Extragalactic Simulation Of Neutrino and Gamma-ray
Other
18 stars 8 forks source link

Implement tests #26

Closed apizzuto closed 3 years ago

apizzuto commented 3 years ago

There are various test scripts, but most of them don't do anything. It would be good to actually add tests for test_Firesong at the very least, potentially checking things in the header as well as average fluxes / redshifts. Similar tests should be implemented for the other modules

apizzuto commented 3 years ago

Addressed in https://github.com/icecube/FIRESONG/pull/42, pretty much everything is covered by tests now except for Power law luminosity functions and the Legend simulation stuff

itaboada commented 3 years ago

All unit tests have been now implemented.