code: def test_clip(self):
      self.assertEqual(1, clip(0, 1, 5))
      self.assertEqual(3, clip(3, 1, 5))
      self.assertEqual(5, clip(6, 1, 5))
  
      npt.assert_array_equal(
          clip(np.asarray([0, 3, 6]), 1, 5), np.asarray([1, 3, 5])
      )
  
imports: import unittest
  import numpy
  import numpy.testing
  import scipy.sparse
  from cornac.utils.common import sigmoid
  from cornac.utils.common import safe_indexing
  from cornac.utils.common import validate_format
  from cornac.utils.common import scale
  from cornac.utils.common import clip
  from cornac.utils.common import excepts
  from cornac.utils.common import intersects
  from cornac.utils.common import estimate_batches
  from cornac.utils.common import get_rng
  from cornac.utils.common import normalize
label_desc: Use image node_id 3 for calling the TestCommon obj's underlying member method code with example usage: obj.test_clip() without return types