comparison python/testhexfile.py @ 272:e64bae57cda8

refactor ir
author Windel Bouwman
date Sat, 31 Aug 2013 17:58:54 +0200
parents 6ed3d3a82a63
children 046017431c6a
comparison
equal deleted inserted replaced
271:cf7d5fb7d9c8 272:e64bae57cda8
26 hf = HexFile() 26 hf = HexFile()
27 hf.addRegion(0x8000, bytes.fromhex('aabbcc')) 27 hf.addRegion(0x8000, bytes.fromhex('aabbcc'))
28 hf.addRegion(0xFFFE, bytes.fromhex('aabbcc')) 28 hf.addRegion(0xFFFE, bytes.fromhex('aabbcc'))
29 self.saveload(hf) 29 self.saveload(hf)
30 30
31 @unittest.skip
31 def testSave4(self): 32 def testSave4(self):
32 hf = HexFile() 33 hf = HexFile()
33 hf.addRegion(0xF000, bytes.fromhex('ab')*0x10000) 34 hf.addRegion(0xF000, bytes.fromhex('ab')*0x10000)
34 self.saveload(hf) 35 self.saveload(hf)
35 36
37 @unittest.skip
36 def testSave5(self): 38 def testSave5(self):
37 hf = HexFile() 39 hf = HexFile()
38 hf.addRegion(0xF003, bytes.fromhex('ab')*0x10000) 40 hf.addRegion(0xF003, bytes.fromhex('ab')*0x10000)
39 self.saveload(hf) 41 self.saveload(hf)
40 42