def METHOD_NAME():
    x = sc.array(dims=['x'], values=np.arange(6.0))
    assert sc.identical(
        sc.fold(x, dim='x', sizes={'x': 2, 'y': 3}),
        sc.fold(x, dim='x', sizes={'x': 2, 'y': -1}),
    )
    assert sc.identical(
        sc.fold(x, dim='x', sizes={'x': 2, 'y': 3}),
        sc.fold(x, dim='x', sizes={'x': -1, 'y': 3}),
    )