def METHOD_NAME(self, preds: Tensor, target: Tensor):
    """Test functional implementation of metric."""
    self.run_functional_metric_test(
        preds=preds,
        target=target,
        metric_functional=retrieval_r_precision,
        reference_metric=_r_precision,
        metric_args={},
    )