Add conversion accuracy and epoch switching tests

This commit is contained in:
2026-04-16 19:40:46 +02:00
parent e35501bd28
commit 4c3fdcfcbb
3 changed files with 90 additions and 3 deletions

View File

@@ -67,6 +67,8 @@ print(pt.sol) # 668
print(pt.hour) # 14
print(pt.minute) # 22
print(pt.second) # 7
print(pt.time) # "14:22:07"
print(pt.date) # "Year 415, Sol 668"
# Mars time since first contact (Viking 1, 1976)
pt = PlanetaryTime.from_earth(now, Body.MARS, EpochType.CONTACT)