Skip to content

Commit

Permalink
added test for Seal Codexes
Browse files Browse the repository at this point in the history
  • Loading branch information
SmithSamuelM committed Apr 8, 2024
1 parent 4f7b982 commit 8e2aed0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/core/test_structing.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,30 @@ def test_structor():

"""End Test"""

def test_seal_dexes():
"""
test Seal Codexes
"""

assert asdict(SealClanDex) == \
{
'SealDigest': SealDigest,
'SealRoot': SealRoot,
'SealBacker': SealBacker,
'SealEvent': SealEvent,
'SealLast': SealLast,
'SealTrans': SealTrans
}

assert asdict(SealCastDex) == \
{
'SealDigest': SealDigest(d=Diger),
'SealRoot': SealRoot(rd=Diger),
'SealBacker': SealBacker(bi=Prefixer, d=Diger),
'SealEvent': SealEvent(i=Prefixer, s=Number, d=Diger),
'SealLast': SealLast(i=Prefixer),
'SealTrans': SealTrans(s=Number, d=Diger)
}

def test_sealer_class():
"""
Expand Down Expand Up @@ -503,6 +527,7 @@ def test_sealer():
if __name__ == "__main__":
test_structor_class()
test_structor()
test_seal_dexes()
test_sealer_class()
test_sealer()

Expand Down

0 comments on commit 8e2aed0

Please sign in to comment.