use crate::system::defs::base::*;
use crate::system::defs::mechanics::*;
use crate::{quantity, unit};
use typenum::*;
quantity!(AcousticImpedance: M P1, L N2, T N1, I Z0, Th Z0, N Z0, J Z0);
unit!(compound: Rayl, "rayl", [(Pascal, P1), (Second, P1), (Metre, N1)]);
quantity!(SoundIntensity: M P1, L Z0, T N3, I Z0, Th Z0, N Z0, J Z0);
quantity!(SoundExposure: M P2, L N2, T N3, I Z0, Th Z0, N Z0, J Z0);
unit!(compound: PascalSquaredSecond, "Pa²⋅s", [(Pascal, P2), (Second, P1)]);
#[cfg(test)]
mod tests {
use super::*;
use crate::common::verify_unit;
verify_unit!(Rayl, AcousticImpedance, 1.0);
verify_unit!(PascalSquaredSecond, SoundExposure, 1.0);
}