#[test]
fn dust_plume_opacity() {
    let d = phoboss::rendering::dust::DustScattering::impact_plume();
    assert!(d.opacity_at_height(0.0) > 0.0);
}

#[test]
fn opacity_decreases() {
    let d = phoboss::rendering::dust::DustScattering::impact_plume();
    assert!(d.opacity_at_height(5_000.0) < d.opacity_at_height(0.0));
}

#[test]
fn dark_terrain_material() {
    let m = phoboss::rendering::materials::PbrMaterial::dark_terrain();
    assert!(m.albedo[0] < 0.3);
}

#[test]
fn icy_bright_material() {
    let m = phoboss::rendering::materials::PbrMaterial::icy_bright();
    assert!(m.albedo[0] > 0.4);
}

#[test]
fn terrain_shader() {
    let s = phoboss::rendering::shaders::ShaderData::terrain();
    assert!(s.exposure > 0.0);
}
