Several tests in tests/test_accel.py and tests/test_orbit.py rely on randomly sampling LEO or GEO orbits. Each time the sampling is done, the same lines of code are repeated. This pull request extracts the orbit sampling code into functions in tests/ssapy_test_helpers.py so that less code is repeated in the tests.
Several tests in
tests/test_accel.py
andtests/test_orbit.py
rely on randomly sampling LEO or GEO orbits. Each time the sampling is done, the same lines of code are repeated. This pull request extracts the orbit sampling code into functions intests/ssapy_test_helpers.py
so that less code is repeated in the tests.