Gitignore tests/ folder

This commit is contained in:
2026-06-01 02:50:02 +02:00
parent 607a745d8a
commit 319793b26a
2 changed files with 1 additions and 9 deletions
+1
View File
@@ -10,3 +10,4 @@ _search_save_type.py
notalterra-linux
notalterra-windows.exe
notalterra
/tests/
-9
View File
@@ -1,9 +0,0 @@
import struct
d = open('samples/savegame_0.sav','rb').read()
i = d.find(b'ElapsedTimeDouble')
print('ElapsedTimeDouble found at:', i)
i2 = d.find(b'Elapsed')
print('Elapsed found at:', i2)
# Check FName encoding at position i2-4
print('u32 at i2-4:', struct.unpack_from('<I', d, i2-4)[0])
print('Expected:', len(b'Elapsed')+1)