def METHOD_NAME():
    """ Tests reshapes on subsets of arrays. """
    @dace.program
    def reshp(A: dace.float64[2, 3, 4], B: dace.float64[12]):
        C = np.reshape(A[1, :, :], [12])
        B[:] += C
    A = np.random.rand(2, 3, 4)
    B = np.random.rand(12)
    expected = np.reshape(A[1, :, :], [12]) + B
    reshp(A, B)
    assert np.allclose(expected, B)