Summary
As a BNG.py developer, I want to use doctests to ensure that the documentation is correct.
Description
Doctests run Python code given as examples in docstrings and confirms that the results are as expected.
https://docs.python.org/3/library/doctest.html
BNG has such code in the docstrings, but the tests have never been tried.
Acceptance
Summary
As a BNG.py developer, I want to use doctests to ensure that the documentation is correct.
Description
Doctests run Python code given as examples in docstrings and confirms that the results are as expected.
https://docs.python.org/3/library/doctest.html
BNG has such code in the docstrings, but the tests have never been tried.
Acceptance
if '__name__' == '__main__'section to allow easy running of doctests