def METHOD_NAME():
    """
    Test _clip array function.
    Returns
    -------
    """
    blocksize = 100
    input_array = np.hstack(
        (10 * np.random.rand(blocksize), -10 * np.random.rand(blocksize))
    )
    vmin = -1
    vmax = 1
    correct_vector = np.clip(input_array, vmin, vmax)
    test_vector = _clip_array(input_array, vmin, vmax)
    assert_allclose(test_vector, correct_vector, atol=Tolerance.atol())