about summary refs log tree commit diff stats
path: root/test/expression/simplifications.py
diff options
context:
space:
mode:
authorserpilliere <fabrice.desclaux@cea.fr>2015-07-10 20:00:05 +0200
committerserpilliere <fabrice.desclaux@cea.fr>2015-07-10 20:00:05 +0200
commit372a5d904df18e3c7f12b126b4afcf52baf981fa (patch)
treeac6072b40022b68391f4edf52ecd226303205489 /test/expression/simplifications.py
parent69bf064fc14b5a7ca11d52df3aaee3e37a5a87ea (diff)
downloadfocaccia-miasm-372a5d904df18e3c7f12b126b4afcf52baf981fa.tar.gz
focaccia-miasm-372a5d904df18e3c7f12b126b4afcf52baf981fa.zip
test/simplification: reg test
Diffstat (limited to 'test/expression/simplifications.py')
-rw-r--r--test/expression/simplifications.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/expression/simplifications.py b/test/expression/simplifications.py
index 2088fc7c..df7fdceb 100644
--- a/test/expression/simplifications.py
+++ b/test/expression/simplifications.py
@@ -254,6 +254,8 @@ to_test = [(ExprInt32(1) - ExprInt32(1), ExprInt32(0)),
                    ExprInt(uint32(0x1L)), 0, 32),
                   (ExprInt(uint32(0x0L)), 32, 64)))
        ),
+    (ExprCompose([(a[:16], 0, 16), (b[:16], 16, 32)])[8:32],
+     ExprCompose([(a[8:16], 0, 8), (b[:16], 8, 24)])),
 
 ]