test_unitSpacecraftLocation
- test_unitSpacecraftLocation.test_spacecraftLocation(show_plots, defaultPolarRadius, defaultPlanet, latitude, maxRange, cone)[source]
Tests whether spacecraftLocation:
defaults planet polar radius to equatorial radius if the polar radius is not set
checks that the zero default planet states are used if the planet is not provided
checks that the planet oblateness is accounted for
checks if the optional sensor boresight axis is properly accounted for
- Returns: