#[test]
fn callisto_date_from_elapsed() {
let d = callistos::temporal::calendar::CallistoDate::from_elapsed_days(50.0);
assert!(d.orbit_index >= 0);
assert!(d.day_in_orbit >= 0.0);
}
#[test]
fn epoch_days_since_j2000() {
let e = callistos::temporal::epoch::Epoch::from_julian_date(2_451_545.0);
assert!((e.days_since_j2000()).abs() < 1e-10);
}
#[test]
fn time_scale_realtime() {
let ts = callistos::temporal::time_scale::TimeScale::realtime();
assert!((ts.advance_seconds(10.0) - 10.0).abs() < 1e-10);
}
#[test]
fn time_scale_fast_forward() {
let ts = callistos::temporal::time_scale::TimeScale::fast_forward(100.0);
assert!((ts.advance_seconds(1.0) - 100.0).abs() < 1e-10);
}