code: def test_consecutive_cluster():
      src = torch.tensor([8, 2, 10, 15, 100, 1, 100])
  
      out, perm = consecutive_cluster(src)
      assert out.tolist() == [2, 1, 3, 4, 5, 0, 5]
      assert perm.tolist() == [5, 1, 0, 2, 3, 6]
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_consecutive_cluster() without return types