def METHOD_NAME(self):
    array = np.array([[1.0, 2.0], [3.0, 5.0]])
    padding = (1, 1)
    padded_array = _pad_ndarray_inverse_mirror(array, padding)
    self.assertArraysAlmostEqual(
        np.ndarray.flatten(padded_array),
        np.ndarray.flatten(
            np.array(
                [
                    [-3.0, -1.0, -1.0, 1.0],
                    [0.0, 1.0, 2.0, 3.0],
                    [1.0, 3.0, 5.0, 7.0],
                    [4.0, 5.0, 8.0, 9.0],
                ]
            )
        ),
    )