Mercurial > lcfOS
comparison test/testhexfile.py @ 307:e609d5296ee9
Massive rewrite of codegenerator
author | Windel Bouwman |
---|---|
date | Thu, 12 Dec 2013 20:42:56 +0100 |
parents | 534b94b40aa8 |
children | b4ac28efcdf4 |
comparison
equal
deleted
inserted
replaced
306:b145f8e6050b | 307:e609d5296ee9 |
---|---|
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('Takes too long') | |
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('Takes too long') | |
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 |