code: def test_seed():
      assert rand() < 1
      seed(1)
      a = rand()
      b = rand()
      seed(1)
      c = rand()
      d = rand()
      assert a == c
      if not c == d:
          assert a != b
      else:
          assert a == b
  
      abc = "abc"
      first = list(abc)
      second = list(abc)
      third = list(abc)
  
      seed(123)
      shuffle(first)
  
      seed(123)
      shuffle(second)
      _assumptions_shuffle(third)
  
      assert first == second == third
  
imports: import random
  from sympy.core.random import random, seed, shuffle, _assumptions_shuffle
  from sympy.core.symbol import Symbol, symbols
  from sympy.functions.elementary.trigonometric import sin, acos
  from sympy.abc import x
label_desc: Use image node_id 2 for calling a global function with example usage: test_seed() without return types