upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/test_imhex_patterns.py
diff options
context:
space:
mode:
authorAlex Collini <pipodi93@gmail.com>2026-11-23 00:02:12 +0100
committerAlex Collini <pipodi93@gmail.com>2026-11-23 00:02:12 +0100
commit93cb49a0995d0c47cfb4a6ebb671f6dcf620b9c1 (patch)
tree673ece754ff6e5ae22ca724399529578d5955a7a /tests/test_imhex_patterns.py
parent03a3558ef4f1e9933da032849f9684b16efa49f7 (diff)
rpf: review nits; the ImHex pattern names +12 trailer_size
movies.md says the bink_index counts for movies.rpf are derived, not a rerun, and names the 8 undecided archives; rpf.md's small-block entropy wording; bink_index drops a redundant max(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_imhex_patterns.py')
-rw-r--r--tests/test_imhex_patterns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_imhex_patterns.py b/tests/test_imhex_patterns.py
index 751de8b90..9d7d38497 100644
--- a/tests/test_imhex_patterns.py
+++ b/tests/test_imhex_patterns.py
@@ -195,7 +195,7 @@ class PatternsInImHex(unittest.TestCase):
195 self.assertIsNotNone(got, log) 195 self.assertIsNotNone(got, log)
196 self.assertEqual(got["header"]["magic"], "9FPR") 196 self.assertEqual(got["header"]["magic"], "9FPR")
197 self.assertEqual(got["header"]["data_offset"], 0x100) 197 self.assertEqual(got["header"]["data_offset"], 0x100)
198 self.assertEqual((got["header"]["u32_08"], got["header"]["u32_0c"]), (0x11, 0x22)) 198 self.assertEqual((got["header"]["u32_08"], got["header"]["trailer_size"]), (0x11, 0x22))
199 self.assertEqual(len(got["header_rest_and_toc"]), 0x100 - 0x10) 199 self.assertEqual(len(got["header_rest_and_toc"]), 0x100 - 0x10)
200 200
201 def test_psin_matches_psin_index_and_psin_data(self): 201 def test_psin_matches_psin_index_and_psin_data(self):