Skip to content

Commit 4867160

Browse files
committed
Test stubs for new ephemeris functions.
1 parent 517582d commit 4867160

1 file changed

Lines changed: 34 additions & 3 deletions

File tree

tests/test_ephemeris.py

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -797,10 +797,41 @@ def test_relative_position(day_jd, coords):
797797
assert ephemeris.relative_position(neptune, mercury) == calc.ORIENTAL
798798

799799

800+
def test_orbital_eccentricity():
801+
"""Since it is difficult to find exact values in reliable 3rd-party sources
802+
I'll leave these tests for future-me to worry about."""
803+
pass
804+
805+
806+
def test_sidereal_period():
807+
"""See above."""
808+
pass
809+
810+
811+
def test_tropical_period():
812+
"""See above."""
813+
pass
814+
815+
816+
def test_synodic_period():
817+
"""See above."""
818+
pass
819+
820+
821+
def test_synodic_period_between():
822+
"""See above."""
823+
pass
824+
825+
826+
def test_retrograde_period():
827+
"""See above."""
828+
pass
829+
830+
800831
def test_solar_year_length():
801-
"""This one is difficult to test in isolation since it's only used for
802-
secondary progressions. For now we'll leave it to the forecast module
803-
tests to check the correct progressed Julian dates."""
832+
"""See above. Yes I'm lazy. Also we can leave it to the forecast module
833+
tests to check the correct progressed Julian dates that come from this
834+
function."""
804835
pass
805836

806837

0 commit comments

Comments
 (0)