Skip to content

Commit

Permalink
Add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanatosGit committed Dec 23, 2024
1 parent d6ff861 commit 6889608
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/formats/test_bmssd.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ def test_bmssd_dread_functions(dread_tree_100):
bmssd.remove_item(random_obj, ItemType.SCENE_BLOCK)
assert bmssd.scene_groups_for_item(random_obj, ItemType.SCENE_BLOCK) == []

# try to get a non-existent object
assert bmssd.scene_groups_for_item("foo", ItemType.LIGHT) == []

# PART 4: make sure it can actually build and parse lol
con = Bmssd.construct_class(target_game=Game.DREAD)
built = con.build(bmssd.raw, target_game=Game.DREAD)
Expand Down

0 comments on commit 6889608

Please sign in to comment.