mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-12-28 15:29:33 +00:00
Added new test_data directory for test images
This commit is contained in:
parent
2b7d895f80
commit
66bb7e63ea
@ -34,9 +34,9 @@ class TestKbootHeader(object):
|
||||
self.check_size(data)
|
||||
|
||||
def test_real(self):
|
||||
data = np.fromfile("air_defense_v18.xex", dtype=np.uint8)
|
||||
data = np.fromfile("../test_data/air_defense_v18.xex", dtype=np.uint8)
|
||||
image = self.check_size(data)
|
||||
with open("air_defense_v18.atr", "wb") as fh:
|
||||
with open("../test_data/air_defense_v18.atr", "wb") as fh:
|
||||
txt = image.tostring()
|
||||
fh.write(txt)
|
||||
|
||||
|
BIN
test_data/air_defense_v18.xex
Normal file
BIN
test_data/air_defense_v18.xex
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user