code: def test_subclass():
      assert issubclass(Bint, Bint)
      assert issubclass(Bint[1], Bint)
      assert issubclass(Bint[1], Bint[1])
      assert issubclass(Bint[2], Bint)
      assert issubclass(Bint[2], Bint[2])
      assert not issubclass(Bint, Bint[1])
      assert not issubclass(Bint, Bint[2])
      assert not issubclass(Bint[1], Bint[2])
      assert not issubclass(Bint[2], Bint[1])
  
      assert issubclass(Reals, Reals)
      assert issubclass(Real, Real)
      assert issubclass(Real, Reals)
      assert issubclass(Reals[2], Reals)
      assert issubclass(Reals[2], Reals[2])
      assert not issubclass(Reals, Real)
      assert not issubclass(Reals, Reals[2])
      assert not issubclass(Real, Reals[2])
      assert not issubclass(Reals[2], Real)
  
      assert not issubclass(Reals, Bint)
      assert not issubclass(Bint, Reals)
      assert not issubclass(Reals[2], Bint[2])
      assert not issubclass(Bint[2], Reals[2])
  
imports: import io
  import pickle
  import pytest
  from funsor.domains import Bint, Real, Reals
label_desc: Use image node_id 4 for calling a global function with example usage: test_subclass() without return types