code: def test_normal_order():
      a = BosonOp("a")
  
      c = FermionOp("c")
  
      assert normal_order(a * Dagger(a)) == Dagger(a) * a
      assert normal_order(Dagger(a) * a) == Dagger(a) * a
      assert normal_order(a * Dagger(a) ** 2) == Dagger(a) ** 2 * a
  
      assert normal_order(c * Dagger(c)) == -Dagger(c) * c
      assert normal_order(Dagger(c) * c) == Dagger(c) * c
      assert normal_order(c * Dagger(c) ** 2) == Dagger(c) ** 2 * c
  
imports: from sympy.physics.quantum import Dagger
  from sympy.physics.quantum.boson import BosonOp
  from sympy.physics.quantum.fermion import FermionOp
  from sympy.physics.quantum.operatorordering import normal_order, normal_ordered_form
label_desc: Use image node_id 1 for calling a global function with example usage: test_normal_order() without return types