titanss 0.0.2

Titan celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
#[test]
fn reference_composition() {
    let sp = titanss::exosphere::species::reference_composition();
    assert!(sp.len() >= 2);
}

#[test]
fn dominant_species() {
    let sp = titanss::exosphere::species::reference_composition();
    assert!(titanss::exosphere::species::dominant_species(&sp).is_some());
}

#[test]
fn dayside_charging() {
    let d = titanss::exosphere::charging::SurfaceCharging::dayside();
    assert!(d.surface_potential_v().is_finite());
}

#[test]
fn nightside_lower() {
    let day = titanss::exosphere::charging::SurfaceCharging::dayside();
    let night = titanss::exosphere::charging::SurfaceCharging::nightside();
    assert!(night.surface_potential_v() < day.surface_potential_v());
}

#[test]
fn jeans_parameter() {
    assert!(titanss::exosphere::escape::jeans_parameter(100.0, 0.032) > 0.0);
}

#[test]
fn ballistic_hop() {
    assert!(titanss::exosphere::escape::ballistic_hop_range_m(300.0, 45.0) > 0.0);
}