code: def test_window_size_selector(method, window_min, window_max):
      selector = WindowSizeSelector(
          method=method, window_range=(window_min, window_max)
      )
      ts = np.random.rand(1000)
  
      assert window_min <= selector.apply(time_series=ts) <= window_max
  
imports: from itertools import combinations
  import numpy
  import pytest
  from fedot.utilities.window_size_selector import WindowSizeSelector, WindowSizeSelectorMethodsEnum
label_desc: Use image node_id 1 for calling a global function with example usage: test_window_size_selector(method, window_min, window_max) without return types