code: def test_check_full_length():
      centroids = to_time_series_dataset([[1, 2, 3], [1, 2, 3, 4, 5]])
      arr = _check_full_length(centroids)
      np.testing.assert_allclose(
          arr,
          to_time_series_dataset(
              [[1, 1.5, 2, 2.5, 3], [1, 2, 3, 4, 5]]
          ),
      )
  
file_path: tslearn/tslearn/tests/test_clustering.py
imports: import numpy
  from tslearn.utils import to_time_series_dataset, ts_size
  from tslearn.clustering import EmptyClusterError, TimeSeriesKMeans, KernelKMeans, KShape
  from tslearn.clustering.utils import _check_full_length, _check_no_empty_cluster
  from tslearn.metrics import cdist_dtw, cdist_soft_dtw
  from tslearn.preprocessing import TimeSeriesScalerMeanVariance
  from scipy.spatial.distance import cdist
label_desc: Use image node_id 2 for calling a global function with example usage: test_check_full_length() without return types