code: def test_repeat():
      assert repeat(None, length=4) is None
      assert repeat(4, length=4) == [4, 4, 4, 4]
      assert repeat([2, 3, 4], length=4) == [2, 3, 4, 4]
      assert repeat([1, 2, 3, 4], length=4) == [1, 2, 3, 4]
      assert repeat([1, 2, 3, 4, 5], length=4) == [1, 2, 3, 4]
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_repeat() without return types