code: def test_eval_commutator():
      F = Foo("F")
      B = Bar("B")
      T = Tam("T")
      assert AComm(F, B).doit() == 0
      assert AComm(B, F).doit() == 0
      assert AComm(F, T).doit() == 1
      assert AComm(T, F).doit() == 1
      assert AComm(B, T).doit() == B * T + T * B
  
file_path: sympy/sympy/physics/quantum/tests/test_anticommutator.py
imports: from sympy.core.numbers import Integer
  from sympy.core.symbol import symbols
  from sympy.physics.quantum.dagger import Dagger
  from sympy.physics.quantum.anticommutator import AntiCommutator
  from sympy.physics.quantum.operator import Operator
label_desc: Use image node_id 4 for calling a global function with example usage: test_eval_commutator() without return types