Unit test for MiterBend (90°). from_dp is pressure-driven and from_mflow is driven by a sinusoidal (sign-changing) mass flow rate, verifying the loss magnitude and correct flow-reversal behaviour.
from_dp
from_mflow