# Path: drudge/fock.py
# CR = CranChar.CR
# 
# AN = CranChar.AN
# 
# Path: drudge/utils.py
# def sympy_key(expr):
#     """Get the key for ordering SymPy expressions.
# 
#     This function assumes that the given expression is already sympified.
#     """
# 
#     return count_ops(expr), default_sort_key(expr)


import pickle
from sympy import latex, KroneckerDelta
from drudge import CR, AN
from drudge.utils import sympy_key
"""Test basic Wick expansion of simple things.
"""





def test_ancr_character_has_basic_properties():
    """Test the annihilation and creation character singleton values.

    This test case also serves as the test for the general concrete symbol
    utility class and meta-class.
    """

    # Its objects will be serialized and deserialized.

# Path: drudge/fock.py
# CR = CranChar.CR
# 
# AN = CranChar.AN
# 
# Path: drudge/utils.py
# def sympy_key(expr):
#     """Get the key for ordering SymPy expressions.
# 
#     This function assumes that the given expression is already sympified.
#     """
# 
#     return count_ops(expr), default_sort_key(expr)


# Path: tests/basic_wick_test.py
import pickle
from sympy import latex, KroneckerDelta
from drudge import CR, AN
from drudge.utils import sympy_key

"""Test basic Wick expansion of simple things.
"""





def test_ancr_character_has_basic_properties():
    """Test the annihilation and creation character singleton values.

    This test case also serves as the test for the general concrete symbol
    utility class and meta-class.
    """

    # Its objects will be serialized and deserialized.

    n_cr, n_an = [pickle.loads(pickle.dumps(i)) for i in [CR, AN]]