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