Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
steven11sjf committed Jul 13, 2024
1 parent bbc70c0 commit 2699bdc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/formats/test_blsnd.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
import pytest
from tests.test_lib import parse_build_compare_editor

from mercury_engine_data_structures import samus_returns_data
from mercury_engine_data_structures import samus_returns_data, dread_data
from mercury_engine_data_structures.formats.blsnd import Blsnd

all_sr_blsnd = [name for name in samus_returns_data.all_name_to_asset_id().keys()
if name.endswith(".blsnd")]

all_dread_blsnd = [name for name in dread_data.all_name_to_asset_id().keys()
if name.endswith(".blsnd")]

@pytest.mark.parametrize("blsnd_path", all_sr_blsnd)
def test_blsnd(samus_returns_tree, blsnd_path):
parse_build_compare_editor(Blsnd, samus_returns_tree, blsnd_path)

@pytest.mark.parametrize("blsnd_path", all_dread_blsnd)
def test_blsnd_dread(dread_file_tree, blsnd_path):
parse_build_compare_editor(Blsnd, dread_file_tree, blsnd_path)

0 comments on commit 2699bdc

Please sign in to comment.