def test__binclf_multiple_curves(
    preds: torch.Tensor,
    gts: torch.Tensor,
    thresholds: torch.Tensor,
    expecteds: torch.Tensor,
) -> None:
    """Test if `_binclf_multiple_curves()` returns the expected values."""
    computed = binary_classification_curve(preds, gts, thresholds)
    assert computed.shape == (preds.shape[0], thresholds.numel(), 2, 2)
    assert (computed == expecteds).all()
Test if `_binclf_multiple_curves()` returns the expected values.
tests/unit/metrics/pimo/test_binary_classification_curve.py