diff --git a/tests/design/test_cdc.py b/tests/design/test_cdc.py index 6c24a524..0085bcb3 100644 --- a/tests/design/test_cdc.py +++ b/tests/design/test_cdc.py @@ -16,6 +16,7 @@ (cdc_20.coag_nu(2 * u.g / u.L, "alum"), 1.00357603e-06 * u.m**2 / u.s), (cdc_20.coag_nu(2 * u.g / u.L, "PACl"), 1.00364398e-06 * u.m**2 / u.s), + (cdc_20.coag_q_max, 0.01333333 * u.L / u.s), (cdc_60.coag_q_max, 0.012 * u.L / u.s), @@ -59,13 +60,3 @@ def test_cdc(actual, expected): assert actual.magnitude == pytest.approx(expected.magnitude) else: assert actual == pytest.approx(expected) - -@pytest.mark.parametrize('warning, func', [ - (UserWarning, lambda: cdc_20._alum_nu(2 * u.g / u.L)), - (UserWarning, lambda: cdc_20._pacl_nu(2 * u.g / u.L)), - (UserWarning, lambda: cdc_20._coag_nu(2 * u.g / u.L, 'alum')), - (UserWarning, lambda: cdc_20.coag_q_max_est), -]) - -def test_cdc_warning(warning, func): - pytest.warns(warning, func) \ No newline at end of file