code: def test_zero_padding_1d_with_same_padding(self, padding):
      inputs = np.random.rand(1, 2, 3)
      outputs = layers.ZeroPadding1D(padding=padding)(inputs)
  
      for index in [0, 1, -1, -2]:
          self.assertAllClose(outputs[:, index, :], 0.0)
      self.assertAllClose(outputs[:, 2:-2, :], inputs)
  
file_path: keras/keras/layers/reshaping/zero_padding1d_test.py
imports: import numpy
  from absl.testing import parameterized
  from keras import layers
  from keras import testing
label_desc: Use image node_id 2 for calling the ZeroPadding1DTest obj's underlying member method code with example usage: obj.test_zero_padding_1d_with_same_padding(padding) without return types