

def test_pad_repeat_border_corner(self):
    x = np.array([[1.0, 2.0], [3.0, 4.0]])
    y = np.array([[1.0, 2.0, 2.0, 2.0], [3.0, 4.0, 4.0, 4.0], [3.0, 4.0, 4.0, 4.0], [3.0, 4.0, 4.0, 4.0]])
    y1 = dd.util.pad_repeat_border_corner(x, (4, 4))
    np.testing.assert_array_equal(y, y1)

dataset/ETHPy150Open uchicago-cs/deepdish/deepdish/tests/test_util.py TestUtil.test_pad_repeat_border_corner/original