def test_det_cont_fct(pred, obs, scores, axis, conditioning, expected):
    """Test the det_cont_fct."""
    assert_array_almost_equal(
        list(det_cont_fct(pred, obs, scores, axis, conditioning).values()), expected
    )
Test the det_cont_fct.
pysteps/tests/test_verification_detcontscores.py