def METHOD_NAME(self):
    rs = np.random.RandomState(0)
    data = Orange.data.Table("iris")
    oldX = data.X
    #permute data
    p = rs.permutation(range(len(data.domain.attributes)))
    nattr = [Orange.data.ContinuousVariable(str(p[i]))
             for i, a in enumerate(data.domain.attributes)]
    data = Orange.data.Table.from_numpy(Orange.data.Domain(nattr),
                                        X=data.X[:, p])
    interpolated = Interpolate(range(len(data.domain.attributes)))(data)
    np.testing.assert_allclose(interpolated.X, oldX)
    #also permute output
    p1 = rs.permutation(range(len(data.domain.attributes)))
    interpolated = Interpolate(p1)(data)
    np.testing.assert_allclose(interpolated.X, oldX[:, p1])