#[test]
fn jupitershine_positive() {
    assert!(europas::lighting::jupitershine::jupitershine_irradiance_lux(0.7) > 0.0);
}

#[test]
fn dark_side_visibility() {
    assert!(europas::lighting::jupitershine::dark_side_visibility_index(0.7, 0.67) > 0.0);
}

#[test]
fn eclipse_totality() {
    let e = europas::lighting::eclipses::typical_europa_eclipse();
    assert!(e.totality_duration_minutes() > 0.0);
}

#[test]
fn solar_elevation_bounded() {
    let elev = europas::lighting::solar_position::solar_elevation_deg(0.0, 42.0);
    assert!((-90.0..=90.0).contains(&elev));
}
