code: def test_split_frame_resize():
      sf = tf.split(5)
  
      sf2 = sf.resize(past_length=10, future_length=10, pad_value=99)
      assert len(sf2) == 20
  
      assert (sf2.past["target"][:5] == 99).all()
      assert (sf2.future["target"][-5:] == 99).all()
  
      sf2 = sf.resize(past_length=1, future_length=1, pad_value=99)
  
      assert sf2.past["target"][0] == 4
      assert sf2.future["target"][0] == 5
  
file_path: gluonts/test/zebras/test_timeframe.py
imports: import pytest
  import numpy
  import gluonts.zebras
label_desc: Use image node_id 6 for calling a global function with example usage: test_split_frame_resize() without return types