def METHOD_NAME(self):
    resize = Resize(size=(10, 20), keep_ratio=True)
    y = resize(self.x)
    assert y.shape == (20, 10, 3)
    assert (y[0:5, :, :] == 0).all()
    assert (y[-5:, :, :] == 0).all()