def test_recall(tp: int, fn: int, zero_division: int, true_value: float):
    """
    Test recall metric

    Args:
        tp: true positive statistic
        fn: false negative statistic
        zero_division: 0 or 1, value to return in case of zero division
        true_value: true metric value
    """
    recall_value = recall(tp=tp, fn=fn, zero_division=zero_division)
    assert (recall_value - true_value) < EPS

    Test recall metric

    Args:
        tp: true positive statistic
        fn: false negative statistic
        zero_division: 0 or 1, value to return in case of zero division
        true_value: true metric value
    
tests/catalyst/metrics/functional/test_classification.py