# Path: pyknow/utils.py
# class frozenlist(tuple):
#     def __repr__(self):
# def freeze(obj):
# def freeze_dict(obj):
# def freeze_list(obj):
# def freeze_set(obj):
# def unfreeze(obj):
# def unfreeze_frozendict(obj):
# def unfreeze_frozenlist(obj):
# def unfreeze_frozenset(obj):
# def anyof(*what):


import pytest
from pyknow.utils import freeze, unfreeze, frozenlist, frozendict



def test_freeze_hashable():
    test_frozenset = frozenset({1, 2, 3})
    assert freeze(test_frozenset) == test_frozenset

    test_tuple = (1, 2, 3)
    assert freeze(test_tuple) == test_tuple

    test_frozendict = frozendict({"a": 1, "b": 2})

# Path: pyknow/utils.py
# class frozenlist(tuple):
#     def __repr__(self):
# def freeze(obj):
# def freeze_dict(obj):
# def freeze_list(obj):
# def freeze_set(obj):
# def unfreeze(obj):
# def unfreeze_frozendict(obj):
# def unfreeze_frozenlist(obj):
# def unfreeze_frozenset(obj):
# def anyof(*what):


# Path: tests/unit/utils/test_freeze.py
import pytest
from pyknow.utils import freeze, unfreeze, frozenlist, frozendict




def test_freeze_hashable():
    test_frozenset = frozenset({1, 2, 3})
    assert freeze(test_frozenset) == test_frozenset

    test_tuple = (1, 2, 3)
    assert freeze(test_tuple) == test_tuple

    test_frozendict = frozendict({"a": 1, "b": 2})

    assert freeze(test_frozendict) == test_frozendict