code: def test_subsample_array():
      t = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
      # this will modify the original array and shuffle it
      r = rasa.shared.core.generator._subsample_array(t, 5)
  
      assert len(r) == 5
      assert set(r).issubset(t)
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_subsample_array() without return types