about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-04-08 15:30:51 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-04-08 15:31:07 +0200
commit06633f8cddfbf8d94dc596d83d96350df5bfb99e (patch)
tree4afc118139c7642cdcc38c69406f088d516b9ca0
parent9d67303f7631b6e9066923534119368b929b84f7 (diff)
downloadmiasm-06633f8cddfbf8d94dc596d83d96350df5bfb99e.tar.gz
miasm-06633f8cddfbf8d94dc596d83d96350df5bfb99e.zip
Test: add expression reg test
-rw-r--r--test/expression/expression.py7
-rw-r--r--test/test_all.py1
2 files changed, 8 insertions, 0 deletions
diff --git a/test/expression/expression.py b/test/expression/expression.py
new file mode 100644
index 00000000..1fdc7680
--- /dev/null
+++ b/test/expression/expression.py
@@ -0,0 +1,7 @@
+#
+# Expression regression tests  #
+#
+from pdb import pm
+from miasm2.expression.expression import *
+
+assert(ExprInt64(-1) != ExprInt64(-2))
diff --git a/test/test_all.py b/test/test_all.py
index c31d02af..fd8d5ad7 100644
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -105,6 +105,7 @@ for script in ["interval.py",
     testset += RegressionTest([script], base_dir="core")
 ## Expression
 for script in ["modint.py",
+               "expression.py",
                "stp.py",
                "simplifications.py",
                "expression_helper.py",