def METHOD_NAME(self):
    expected_values = []
    percentile_doubles = [0, 0.1, 0.33, 0.5, 1]
    arr = [2, 4, 6, 8, 10]
    count = 5
    for i in range(5):
        x = percentile_doubles[i] * (count - 1)
        lower_idx = floor(x)
        upper_idx = ceil(x)
        if lower_idx == upper_idx or lower_idx == (count - 1):
            expected_values.append([[arr[lower_idx]]])
            continue
        lower = arr[lower_idx]
        upper = arr[upper_idx]
        expected_values.append([[lower * (upper_idx - x) + (upper * (x - lower_idx))]])
    for i in range(5):
        query = f'UNWIND [2, 4, 6, 8, 10] AS x RETURN percentileCont(x, {percentile_doubles[i]})'
        self.get_res_and_assertAlmostEquals(query, expected_values[i])