callistos 0.0.3

Callisto celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
#[test]
fn valhalla_ice_deposit() {
    let ice = callistos::resources::water_ice::valhalla_deposit();
    assert!(ice.estimated_mass_kg > 1.0e10);
    assert!(ice.purity_fraction > 0.0);
}

#[test]
fn extractable_water_positive() {
    let ice = callistos::resources::water_ice::valhalla_deposit();
    assert!(ice.extractable_water_kg(0.7) > 0.0);
}

#[test]
fn minerals_silicate_mass() {
    let m = callistos::resources::minerals::dark_terrain_minerals();
    let mass = m.silicate_mass_kg(10.0, 1200.0);
    assert!(mass > 0.0);
}

#[test]
fn regolith_oxygen_yield() {
    let r = callistos::resources::regolith::cratered_plains_resource();
    let ox = r.oxygen_mass_kg(1000.0);
    assert!(ox > 0.0);
}

#[test]
fn life_support_people_positive() {
    let ice = callistos::resources::water_ice::valhalla_deposit();
    let people = callistos::resources::water_ice::annual_life_support_people(ice, 2000.0);
    assert!(people > 0.0);
}