#[test]
fn reference_composition() {
    let sp = phoboss::exosphere::species::reference_composition();
    assert!(sp.len() >= 2);
}

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

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

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

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

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