aether-garden / tests /test_relationships.py
kavyabhand's picture
Deploy Aether Garden application
781b9f7 verified
Raw
History Blame Contribute Delete
294 Bytes
"""Tests for relationship helpers."""
import os
import sys
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
from world.relationships import canonical_pair
def test_canonical_pair_ordering():
a, b = canonical_pair("zzz", "aaa")
assert a == "aaa"
assert b == "zzz"