#[test]
fn ice_deposit_extractable() {
    let d = deimoss::resources::water_ice::regolith_ice_deposit();
    let water = d.extractable_water_kg(0.5);
    assert!(water > 0.0);
}

#[test]
fn annual_life_support_positive() {
    let d = deimoss::resources::water_ice::regolith_ice_deposit();
    let people = deimoss::resources::water_ice::annual_life_support_people(d, 2_500.0);
    assert!(people > 0.0);
}

#[test]
fn carbonaceous_chondrite_mineral() {
    let m = deimoss::resources::minerals::carbonaceous_chondrite();
    assert!(m.silicate_fraction > 0.0);
    assert!(m.silicate_mass_kg(10.0, 1_100.0) > 0.0);
}

#[test]
fn regolith_resource_oxygen() {
    let r = deimoss::resources::regolith::smooth_terrain_resource();
    assert!(r.oxygen_mass_kg(1_000.0) > 0.0);
}

#[test]
fn regolith_resource_ice_feedstock() {
    let r = deimoss::resources::regolith::smooth_terrain_resource();
    assert!(r.ice_feedstock_kg(1_000.0) > 0.0);
}
