code: def test_resize_random():
      augmenter = Resize(size=50) @ 0.5
      augmenter.seed = None
      X_aug = []
      for _ in range(10):
          X_aug.append(augmenter.augment(X1))
      assert any(
          [np.array_equal(X_aug[0], X_aug[i]) for i in range(1, 10)]
      )
  
      augmenter.seed = 0
      X_aug = []
      for _ in range(10):
          X_aug.append(augmenter.augment(X1))
      assert all(
          [np.array_equal(X_aug[0], X_aug[i]) for i in range(1, 10)]
      )
  
file_path: tsaug/tests/test_random_seed.py
imports: import numpy
  import pytest
  from tsaug import AddNoise, Convolve, Crop, Drift, Dropout, Pool, Quantize, Resize, Reverse, TimeWarp
label_desc: Use image node_id 8 for calling a global function with example usage: test_resize_random() without return types