Skip to content

Commit

Permalink
Fixed it For Real This Time
Browse files Browse the repository at this point in the history
  • Loading branch information
SolventMercury committed Sep 19, 2023
1 parent c67d5e6 commit f12b71f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_rom_patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ def test_add_starting_inventory():
# Assert the presence of routines
assert is_file_byte_range_empty(f, b"\0", 0, 0x02FFFB)
# function_to_return_properly
assert not is_file_byte_range_empty(f, b"\0", 0x02FFFB, (0x02FFFB + 5))
assert is_file_byte_range_empty(f, b"\0", (0x02FFFB + 5), 0x08763A)
assert not is_file_byte_range_empty(f, b"\0", 0x02FFFB, (0x02FFFB + 4))
assert is_file_byte_range_empty(f, b"\0", (0x02FFFB + 4), 0x08763A)
# award_starting_inventory_routine
assert not is_file_byte_range_empty(f, b"\0", 0x08763A, (0x08763A + 43))
assert is_file_byte_range_empty(f, b"\0", (0x08763A + 43), 0x1C0000)
assert not is_file_byte_range_empty(f, b"\0", 0x08763A, (0x08763A + 48))
assert is_file_byte_range_empty(f, b"\0", (0x08763A + 48), 0x1C0000)
# Assert the presence of starting inventory data
assert not is_file_byte_range_empty(f, b"\0", 0x1C0000, 0x1C0007)
assert is_file_byte_range_empty(f, b"\0", 0x1C0007, romSize)
Expand Down

0 comments on commit f12b71f

Please sign in to comment.