diff options
| author | serpilliere <fabrice.desclaux@cea.fr> | 2015-04-24 19:37:22 +0200 |
|---|---|---|
| committer | serpilliere <fabrice.desclaux@cea.fr> | 2015-04-25 13:07:11 +0200 |
| commit | 207d62c5d5d6b8b2f5a5e83bff8e85e137759321 (patch) | |
| tree | e71c01b6b83c6d528a34f906f034b981bf9bfcd1 | |
| parent | 24aadd1a8d87034c6d636c9f57f643f8288256cf (diff) | |
| download | miasm-207d62c5d5d6b8b2f5a5e83bff8e85e137759321.tar.gz miasm-207d62c5d5d6b8b2f5a5e83bff8e85e137759321.zip | |
Test: add intmod regression
| -rw-r--r-- | test/expression/simplifications.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/expression/simplifications.py b/test/expression/simplifications.py index e5bb109c..d3e1c979 100644 --- a/test/expression/simplifications.py +++ b/test/expression/simplifications.py @@ -198,7 +198,10 @@ to_test = [(ExprInt32(1) - ExprInt32(1), ExprInt32(0)), (ExprCompose([(f[:32], 0, 32), (ExprInt32(0), 32, 64)]) | ExprCompose([(ExprInt32(0), 0, 32), (f[32:], 32, 64)]), f), ((ExprCompose([(a, 0, 32), (ExprInt32(0), 32, 64)]) * ExprInt64(0x123))[32:64], - (ExprCompose([(a, 0, 32), (ExprInt32(0), 32, 64)]) * ExprInt64(0x123))[32:64]) + (ExprCompose([(a, 0, 32), (ExprInt32(0), 32, 64)]) * ExprInt64(0x123))[32:64]), + + (ExprInt32(0x12), + ExprInt32(0x12L)) ] |