Skip to content

Commit

Permalink
Merge branch 'add-tile-function' of https://github.com/randovania/mer…
Browse files Browse the repository at this point in the history
…cury-engine-data-structures into add-tile-function
  • Loading branch information
dyceron committed Dec 15, 2024
2 parents d56af1e + f86b5d1 commit 98ddebf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/formats/test_bmsmsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
def test_bmsmsd(samus_returns_tree, bmsmsd_path):
parse_build_compare_editor(Bmsmsd, samus_returns_tree, bmsmsd_path)


@pytest.fixture()
def surface_bmsmsd(samus_returns_tree) -> Bmsmsd:
return samus_returns_tree.get_parsed_asset(
"gui/minimaps/c10_samus/s000_surface.bmsmsd", type_hint=Bmsmsd
)


def test_get_tile(surface_bmsmsd: Bmsmsd):
tile = surface_bmsmsd.get_tile(4)
assert tile.tile_coordinates == [48, 5]
Expand Down

0 comments on commit 98ddebf

Please sign in to comment.