This repository is for the Fast Reactor Input Deck Generator (FRIDGe)
FRIDGe has an a test suite built that can be run to ensure all of the packages are operating correctly.
Before running the test suite, ensure that both pytest, numpy, andPyYAML are all installed.
This can quickly be done with the following:
pip install pytest
pip install numpy
pip install PyYAML
To run the test suite, open a terminal in the directory above fridge (you should see docs/, fridge/, paper/) and perform the following:
python -m pytest
This should run all of the files in fridge/test_suite.
There are currently 85 tests which will run; this typically takes between 5 and 30 seconds.
This will generate four MCNP input files in fridge/mcnp_input_files.
Note: There are four MCNP input files with the preface Prefab_, these are four MCNP input files that the test suite is checking against.
DO NOT alter these files in any way, otherwise some of the tests will likely fail.