code: def test_multiplication():
      w = omega
      assert w * (w + 1) == w * w + w
      assert (w + 1) * (w + 1) == w * w + w + 1
      assert w * 1 == w
      assert 1 * w == w
      assert w * ord0 == ord0
      assert ord0 * w == ord0
      assert w**w == w * w**w
      assert (w**w) * w * w == w ** (w + 2)
  
file_path: sympy/sympy/sets/tests/test_ordinals.py
imports: from sympy.sets.ordinals import Ordinal, OmegaPower, ord0, omega
  from sympy.testing.pytest import raises
label_desc: Use image node_id 6 for calling a global function with example usage: test_multiplication() without return types