diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/jitter/jitcore.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/jitter/jitcore.py b/test/jitter/jitcore.py index af697e49..5618d172 100644 --- a/test/jitter/jitcore.py +++ b/test/jitter/jitcore.py @@ -24,7 +24,14 @@ try: except TypeError as te: pass else: - raise Exception("Should see that 0x1ffffffffffffffff is to big for RAX") + raise Exception("Should see that 0x1ffffffffffffffff is too big for RAX") + +try: + jitter.cpu.RAX = 0x10000000000000000 +except TypeError as te: + pass +else: + raise Exception("Should see that 0x10000000000000000 is too big for RAX") jitter.cpu.EAX = -0xefffffff assert jitter.cpu.EAX == 0x10000001 @@ -37,4 +44,4 @@ try: except TypeError as te: pass else: - raise Exception("Should see that -0x1ffffffff is to big for EAX") + raise Exception("Should see that -0x1ffffffff is too big for EAX") |