def METHOD_NAME(self, value: np.ndarray) -> None:
    # cannot compare values with NaN as scipy uses quicksort
    if np.isnan(value).any():
        return
    for axis in (0, 1):
        a1 = rankdata(value, method='min', axis=axis)
        a2 = rank_2d(value, method='min', start=1, axis=axis)
        self.assertEqual(a1.tolist(), a2.tolist())