test_keplerianOrbit

test_keplerianOrbit.test_unitKeplerianOrbit(show_plots=False)[source]

Module Unit Test

test_keplerianOrbit.unitKeplerianOrbit(show_plots=False)[source]

Unit Test Keplerian Orbit object

This test covers: 1) elem to rv conversion 2) orbit energy calculation 3) orbital period calculation 4) mean motion calculation 5) changing individual orbital elements 6) copy constructor 7) constructor with arguments 8) constructor without arguments

Parameters:

show_plots (bool) – unused. required for Basilisk test suite

Returns:

  • testFailCount (int) – number of tests that failed

  • testMessages (str) – a string of all of the failure messages