code: def test_doit():
      f = FooKet("foo")
      b = BarBra("bar")
      assert InnerProduct(b, f).doit() == I
      assert InnerProduct(Dagger(f), Dagger(b)).doit() == -I
      assert InnerProduct(Dagger(f), f).doit() == Integer(1)
  
imports: from sympy.core.numbers import I, Integer
  from sympy.physics.quantum.innerproduct import InnerProduct
  from sympy.physics.quantum.dagger import Dagger
  from sympy.physics.quantum.state import Bra, Ket, StateBase
label_desc: Use image node_id 3 for calling a global function with example usage: test_doit() without return types