test_fortranapex
Test the apexpy.fortranapex class
Notes
Whenever function outputs are tested against hard-coded numbers, the test results (numbers) were obtained by running the code that is tested. Therefore, these tests below only check that nothing changes when refactoring, etc., and not if the results are actually correct.
These results are expected to change when IGRF is updated.
Classes
Test class for the Python-wrapped Fortran functions. |
Module Contents
- class test_fortranapex.TestFortranApex[source]
Bases:
object
Test class for the Python-wrapped Fortran functions.
- run_test_evaluation(rtol=1e-05, atol=1e-05)[source]
Run the evaluation of the test results.
- Parameters:
rtol (float) – Relative tolerance, default value based on old code’s precision (default=1e-5)
atol (float) – Absolute tolerance, default value based on old code’s precision (default=1e-5)