RemDelaporteMathurin / system_code

Tritium Fuel Cycle modelling
MIT License
2 stars 0 forks source link

ideas for tests #2

Closed shimwell closed 1 year ago

shimwell commented 2 years ago

just writing up ideas from Remi

we could have a test for :

make a system with no generation and no decay and check that inventory is constant

make a system with decay and no generation and check the reduction is the same as the half life predicts

make a generation of known amount (e.g pi) and check the variation of inventory with every time step is equal to the generation

make a generation of known amount (e.g pi) and an initial amount and check the variation of inventory with every time step is equal to the generation