def METHOD_NAME(self, preds, target):
    """Check that pair cluster confusion matrix is calculated correctly."""
    tm_res = calcualte_pair_cluster_confusion_matrix(preds, target)
    sklearn_res = sklearn_pair_confusion_matrix(preds, target)
    assert np.allclose(tm_res, sklearn_res, atol=self.atol)