def METHOD_NAME(self, preds, target, alternative, variant, ddp):
    """Test class implementation of metric."""
    num_outputs = EXTRA_DIM if preds.ndim == 3 else 1
    t_test = bool(alternative is not None)
    _sk_kendall_tau = partial(_scipy_kendall, alternative=alternative, variant=variant)
    alternative = _adjust_alternative_to_scipy(alternative)
    self.run_class_metric_test(
        ddp,
        preds,
        target,
        KendallRankCorrCoef,
        _sk_kendall_tau,
        metric_args={"t_test": t_test, "alternative": alternative, "variant": variant, "num_outputs": num_outputs},
    )